toValue method
Implementation
String toValue() {
switch (this) {
case JobStatus.submitted:
return 'SUBMITTED';
case JobStatus.progressing:
return 'PROGRESSING';
case JobStatus.complete:
return 'COMPLETE';
case JobStatus.canceled:
return 'CANCELED';
case JobStatus.error:
return 'ERROR';
}
}