removePackage static method

Future<void> removePackage(
  1. String package
)

Implementation

static Future<void> removePackage(String package) async {
  LogService.info('Removing package $package …');
  await run('dart pub remove $package', verbose: true);
}