toProcessingJobStatus method
Implementation
ProcessingJobStatus toProcessingJobStatus() {
switch (this) {
case 'InProgress':
return ProcessingJobStatus.inProgress;
case 'Completed':
return ProcessingJobStatus.completed;
case 'Failed':
return ProcessingJobStatus.failed;
case 'Stopping':
return ProcessingJobStatus.stopping;
case 'Stopped':
return ProcessingJobStatus.stopped;
}
throw Exception('$this is not known in enum ProcessingJobStatus');
}