copyWith method

GetGameHighScores copyWith({
  1. int? chatId,
  2. int? messageId,
  3. int? userId,
})

Implementation

GetGameHighScores copyWith({
  int? chatId,
  int? messageId,
  int? userId,
}) =>
    GetGameHighScores(
      chatId: chatId ?? this.chatId,
      messageId: messageId ?? this.messageId,
      userId: userId ?? this.userId,
    );