toValue method
Implementation
String toValue() {
switch (this) {
case RequestedJobStatus.cancelled:
return 'Cancelled';
case RequestedJobStatus.ready:
return 'Ready';
}
}
String toValue() {
switch (this) {
case RequestedJobStatus.cancelled:
return 'Cancelled';
case RequestedJobStatus.ready:
return 'Ready';
}
}