toConnectionAliasState method

ConnectionAliasState toConnectionAliasState()

Implementation

ConnectionAliasState toConnectionAliasState() {
  switch (this) {
    case 'CREATING':
      return ConnectionAliasState.creating;
    case 'CREATED':
      return ConnectionAliasState.created;
    case 'DELETING':
      return ConnectionAliasState.deleting;
  }
  throw Exception('$this is not known in enum ConnectionAliasState');
}