copyWith method

GameHighScores copyWith({
  1. List<GameHighScore>? scores,
  2. dynamic extra,
  3. int? clientId,
})

Implementation

GameHighScores copyWith({
  List<GameHighScore>? scores,
  dynamic extra,
  int? clientId,
}) =>
    GameHighScores(
      scores: scores ?? this.scores,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );