addPlayedGame function
- GameData gameData
Implementation
void addPlayedGame(GameData gameData) {
UserData userData = UserData();
userData.playedGames.insert(0, gameData);
}
void addPlayedGame(GameData gameData) {
UserData userData = UserData();
userData.playedGames.insert(0, gameData);
}