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