toStateMachineType method

StateMachineType toStateMachineType()

Implementation

StateMachineType toStateMachineType() {
  switch (this) {
    case 'STANDARD':
      return StateMachineType.standard;
    case 'EXPRESS':
      return StateMachineType.express;
  }
  throw Exception('$this is not known in enum StateMachineType');
}