toRequestedJobStatus method
Implementation
RequestedJobStatus toRequestedJobStatus() {
switch (this) {
case 'Cancelled':
return RequestedJobStatus.cancelled;
case 'Ready':
return RequestedJobStatus.ready;
}
throw Exception('$this is not known in enum RequestedJobStatus');
}