toStateMachineStatus method

StateMachineStatus toStateMachineStatus()

Implementation

StateMachineStatus toStateMachineStatus() {
  switch (this) {
    case 'ACTIVE':
      return StateMachineStatus.active;
    case 'DELETING':
      return StateMachineStatus.deleting;
  }
  throw Exception('$this is not known in enum StateMachineStatus');
}