copyWith method

SetGameScore copyWith({
  1. int? chatId,
  2. int? messageId,
  3. bool? editMessage,
  4. int? userId,
  5. int? score,
  6. bool? force,
})

Implementation

SetGameScore copyWith({
  int? chatId,
  int? messageId,
  bool? editMessage,
  int? userId,
  int? score,
  bool? force,
}) => SetGameScore(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  editMessage: editMessage ?? this.editMessage,
  userId: userId ?? this.userId,
  score: score ?? this.score,
  force: force ?? this.force,
);