copyWith method

UpdateChatBoost copyWith({
  1. int? chatId,
  2. ChatBoost? boost,
})

Implementation

UpdateChatBoost copyWith({int? chatId, ChatBoost? boost}) => UpdateChatBoost(
  chatId: chatId ?? this.chatId,
  boost: boost ?? this.boost,
);