runIntlOrFail method Null safety

  1. @protected
Future<ProcessResult> runIntlOrFail(
  1. String cmd,
  2. List<String> arguments,
  3. {bool printStdOut = true,
  4. String? workingDir,
  5. bool prependWithPubGet = false}
)

Implementation

@protected
Future<ProcessResult> runIntlOrFail(String cmd, List<String> arguments,
    {bool printStdOut = true,
    String? workingDir,
    bool prependWithPubGet = false}) async {
  return runOrFail(
      () => runIntl(cmd, arguments,
          workingDir: workingDir, prependWithPubGet: prependWithPubGet),
      printStdOut: printStdOut);
}