copyWith method
Implementation
GameHighScore copyWith({
int? position,
int? userId,
int? score,
}) => GameHighScore(
position: position ?? this.position,
userId: userId ?? this.userId,
score: score ?? this.score,
);
GameHighScore copyWith({
int? position,
int? userId,
int? score,
}) => GameHighScore(
position: position ?? this.position,
userId: userId ?? this.userId,
score: score ?? this.score,
);