toGameServerUtilizationStatus method

GameServerUtilizationStatus toGameServerUtilizationStatus()

Implementation

GameServerUtilizationStatus toGameServerUtilizationStatus() {
  switch (this) {
    case 'AVAILABLE':
      return GameServerUtilizationStatus.available;
    case 'UTILIZED':
      return GameServerUtilizationStatus.utilized;
  }
  throw Exception('$this is not known in enum GameServerUtilizationStatus');
}