call method

  1. @override
Future<bool> call()
override

Implementation

@override
Future<bool> call() async {
  var shell = Shell();

  try {
    await shell.run(
      'pub global activate clean_dart_cli',
    );
    return true;
  } catch (e) {
    throw UpgradeError(innerException: Exception());
  }
}