toValue method
Implementation
String toValue() {
switch (this) {
case JobStatus.queued:
return 'Queued';
case JobStatus.inProgress:
return 'InProgress';
case JobStatus.complete:
return 'Complete';
case JobStatus.failed:
return 'Failed';
}
}