isInstalled method Null safety
- String packageName
Returns true if the package is installed in pub-cache
Implementation
bool isInstalled(String packageName) =>
findPrimaryVersion(packageName) != null;
Returns true if the package is installed in pub-cache
bool isInstalled(String packageName) =>
findPrimaryVersion(packageName) != null;