toScheduledActionState method

ScheduledActionState toScheduledActionState()

Implementation

ScheduledActionState toScheduledActionState() {
  switch (this) {
    case 'ACTIVE':
      return ScheduledActionState.active;
    case 'DISABLED':
      return ScheduledActionState.disabled;
  }
  throw Exception('$this is not known in enum ScheduledActionState');
}