runIntl method Null safety

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

Implementation

@protected
Future<ProcessResult> runIntl(String cmd, List<String> arguments,
    {String? workingDir, bool prependWithPubGet = false}) async {
  final packageName = await _getIntlGeneratorPackageName();
  return runPub('$packageName:$cmd', arguments,
      workingDir: workingDir, prependWithPubGet: prependWithPubGet);
}