copyWith method
Implementation
GameHighScores copyWith({
List<GameHighScore>? scores,
}) =>
GameHighScores(
scores: scores ?? this.scores,
);
GameHighScores copyWith({
List<GameHighScore>? scores,
}) =>
GameHighScores(
scores: scores ?? this.scores,
);