toJobStatusType method
Implementation
JobStatusType toJobStatusType() {
switch (this) {
case 'IN_PROGRESS':
return JobStatusType.inProgress;
case 'COMPLETED':
return JobStatusType.completed;
case 'FAILED':
return JobStatusType.failed;
}
throw Exception('$this is not known in enum JobStatusType');
}