RunResult constructor

const RunResult({
  1. bool? addPreviousOutputInEnv,
  2. dynamic archive,
  3. List<String>? archivePaths,
  4. List<String>? assetPaths,
  5. Map<String, dynamic>? assets,
  6. required String command,
  7. String? dir,
  8. Map<String, String>? environment,
  9. List<String>? interpreter,
  10. Logging? logging,
  11. required String stderr,
  12. String? stdin,
  13. required String stdout,
})

Creates a new RunResult. addPreviousOutputInEnv If the previous command's stdout and stderr (as generated by the prior create/update) is archive An archive asset containing files found after running the command. archivePaths A list of path globs to return as a single archive asset after the command completes. assetPaths A list of path globs to read after the command completes. assets A map of assets found after running the command. command The command to run. dir The directory from which to run the command from. If dir does not exist, then environment Additional environment variables available to the command's process. interpreter The program and arguments to run the command. logging If the command's stdout and stderr should be logged. This doesn't affect the capturing of stderr The standard error of the command's process stdin Pass a string to the command's process as standard in stdout The standard output of the command's process

Implementation

const RunResult({
  this.addPreviousOutputInEnv,
  this.archive,
  this.archivePaths,
  this.assetPaths,
  this.assets,
  required this.command,
  this.dir,
  this.environment,
  this.interpreter,
  this.logging,
  required this.stderr,
  this.stdin,
  required this.stdout,
});