toValue method

String toValue()

Implementation

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