copyWith method

GameHighScore copyWith({
  1. int? position,
  2. int? userId,
  3. int? score,
})

Implementation

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