toValue method
Implementation
String toValue() {
switch (this) {
case ScheduleState.scheduled:
return 'SCHEDULED';
case ScheduleState.notScheduled:
return 'NOT_SCHEDULED';
case ScheduleState.transitioning:
return 'TRANSITIONING';
}
}