checkAndActivateWebdev function

Future<void> checkAndActivateWebdev({
  1. bool? verbose,
})

Check if webdev is activated.

The version check runs under the lock too as dart pub global run builds the snapshot if missing.

Implementation

Future<void> checkAndActivateWebdev({bool? verbose}) =>
    _pubGlobalLock(() => _checkAndActivateWebdev(verbose: verbose));