getGameModeById method
Implementation
Id getGameModeById(String id) => gameModes.singleWhere((element) => !isNullOrEmpty(element.id) && element.id! == id);
Id getGameModeById(String id) => gameModes.singleWhere((element) => !isNullOrEmpty(element.id) && element.id! == id);