isConnectGame static method

bool isConnectGame({
  1. required String game,
})

Implementation

static bool isConnectGame({required String game}) {
  if (listOfConnectGames.contains(game)) {
    return true;
  } else {
    return false;
  }
}