checkAndActivatePackage function

Future<bool> checkAndActivatePackage(
  1. String package, {
  2. bool? verbose,
})

Prefer PubGlobalPackageService Returns true if the package was activated during this call.

Implementation

Future<bool> checkAndActivatePackage(String package, {bool? verbose}) =>
    _pubGlobalLock(() => _checkAndActivatePackage(package, verbose: verbose));