JobStatusResponse constructor

const JobStatusResponse({
  1. required Input<ErrorProtoResponse> errorResult,
  2. required Input<List<ErrorProtoResponse>> errors,
  3. required Input<String> state,
})

Creates a new JobStatusResponse. errorResult Final error result of the job. If present, indicates that the job has completed and was unsuccessful. errors The first errors encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. state Running state of the job.

Implementation

const JobStatusResponse({
  required this.errorResult,
  required this.errors,
  required this.state,
});