run static method

void run(
  1. String argument, {
  2. bool showLog = false,
})

Implementation

static void run(String argument, {bool showLog = false}) {
  String command = '';
  if (Platform.isWindows) {
    command = 'flutter.bat $argument';
  } else {
    command = 'flutter $argument';
  }
  if (showLog) print(command);
  command.run;
}