JobResult constructor

JobResult({
  1. required String taskKey,
  2. required String jobLabel,
  3. required String ref,
  4. required int exitCode,
  5. required Duration duration,
  6. required int attempts,
  7. required bool ignored,
  8. List<Artifact> artifacts = const [],
  9. bool resumed = false,
})

Creates a job outcome record.

Implementation

JobResult({
  required this.taskKey,
  required this.jobLabel,
  required this.ref,
  required this.exitCode,
  required this.duration,
  required this.attempts,
  required this.ignored,
  this.artifacts = const [],
  this.resumed = false,
});