copyWith method

  1. @override
MessageGameScore copyWith({
  1. int? gameMessageId,
  2. int? gameId,
  3. int? score,
})
override

Implementation

@override
MessageGameScore copyWith({
  int? gameMessageId,
  int? gameId,
  int? score,
}) => MessageGameScore(
  gameMessageId: gameMessageId ?? this.gameMessageId,
  gameId: gameId ?? this.gameId,
  score: score ?? this.score,
);