toValue method
Implementation
String toValue() {
  switch (this) {
    case ScheduleState.modifying:
      return 'MODIFYING';
    case ScheduleState.active:
      return 'ACTIVE';
    case ScheduleState.failed:
      return 'FAILED';
  }
}String toValue() {
  switch (this) {
    case ScheduleState.modifying:
      return 'MODIFYING';
    case ScheduleState.active:
      return 'ACTIVE';
    case ScheduleState.failed:
      return 'FAILED';
  }
}