ProcessCmd constructor Null safety

ProcessCmd(
  1. String? executable,
  2. List<String> arguments,
  3. {String? workingDirectory,
  4. Map<String, String>? environment,
  5. bool includeParentEnvironment = true,
  6. bool? runInShell,
  7. Encoding stdoutEncoding = systemEncoding,
  8. Encoding stderrEncoding = systemEncoding}
)

Implementation

ProcessCmd(this.executable, this.arguments,
    {this.workingDirectory,
    this.environment,
    this.includeParentEnvironment = true,
    this.runInShell,
    this.stdoutEncoding = systemEncoding,
    this.stderrEncoding = systemEncoding});