toGameServerHealthCheck method

GameServerHealthCheck toGameServerHealthCheck()

Implementation

GameServerHealthCheck toGameServerHealthCheck() {
  switch (this) {
    case 'HEALTHY':
      return GameServerHealthCheck.healthy;
  }
  throw Exception('$this is not known in enum GameServerHealthCheck');
}