clean static method

Future<void> clean({
  1. int concurrent = defaultConcurrent,
})

Implementation

static Future<void> clean({int concurrent = defaultConcurrent}) => execute(
      ['${FlutterHelper.getCommandFlutter()} clean'],
      customCommand: (workingDirectory) {
        final path = join(workingDirectory, 'pubspec.lock');
        if (exists(path)) {
          delete(path);
        }
      },
      concurrent: concurrent,
    );