runIntlOrFail method

  1. @protected
Future<ProcessResult> runIntlOrFail(
  1. String cmd,
  2. List<String> arguments, {
  3. required String? title,
  4. bool printStdOut = true,
  5. bool immediatePrint = true,
  6. String? workingDir,
  7. bool prependWithPubGet = false,
  8. bool ignorePubGetOutput = _kDefaultIgnorePubGetOutput,
})

Implementation

@protected
Future<ProcessResult> runIntlOrFail(
  String cmd,
  List<String> arguments, {
  required String? title,
  bool printStdOut = true,
  bool immediatePrint = true,
  String? workingDir,
  bool prependWithPubGet = false,
  bool ignorePubGetOutput = _kDefaultIgnorePubGetOutput,
}) async {
  return flutter.runOrFail(
    () => runIntl(
      cmd,
      arguments,
      title: title,
      workingDir: workingDir,
      prependWithPubGet: prependWithPubGet,
      immediatePrintStd: printStdOut && immediatePrint,
      ignorePubGetOutput: ignorePubGetOutput,
    ),
    printStdOut: printStdOut && !immediatePrint,
  );
}