restartInfoGames function
Implementation
void restartInfoGames() {
UserData userData = UserData();
userData.savedGames = List.empty(growable: true);
userData.playedGames = List.empty(growable: true);
}
void restartInfoGames() {
UserData userData = UserData();
userData.savedGames = List.empty(growable: true);
userData.playedGames = List.empty(growable: true);
}