start static method

Future<int> start(
  1. String argument, {
  2. bool showLog = false,
  3. String? workingDirectory,
  4. void progressOut(
    1. String line
    )?,
  5. void progressErr(
    1. String line
    )?,
})

Implementation

static Future<int> start(
  String argument, {
  bool showLog = false,
  String? workingDirectory,
  void Function(String line)? progressOut,
  void Function(String line)? progressErr,
}) {
  String command = '${getCommandFlutter()} $argument';
  if (showLog) print(command);
  return command.start(
    workingDirectory: workingDirectory,
    progressOut: progressOut,
    progressErr: progressErr,
  );
}