format static method
Implementation
static Future<void> format([List<String>? paths]) async {
if (paths == null || paths.isEmpty) {
return execute(['${FlutterHelper.getCommandDart()} format .']);
} else {
for (var element in paths) {
await '${FlutterHelper.getCommandDart()} format .'.start(
workingDirectory: element,
);
}
}
}