toGameServerGroupDeleteOption method

GameServerGroupDeleteOption toGameServerGroupDeleteOption()

Implementation

GameServerGroupDeleteOption toGameServerGroupDeleteOption() {
  switch (this) {
    case 'SAFE_DELETE':
      return GameServerGroupDeleteOption.safeDelete;
    case 'FORCE_DELETE':
      return GameServerGroupDeleteOption.forceDelete;
    case 'RETAIN':
      return GameServerGroupDeleteOption.retain;
  }
  throw Exception('$this is not known in enum GameServerGroupDeleteOption');
}