copyWith method

GetGiveawayInfo copyWith({
  1. int? chatId,
  2. int? messageId,
})

Implementation

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