copyWith method
MessageUpgradedGiftPurchaseOfferRejected
copyWith({
- UpgradedGift? gift,
- GiftResalePrice? price,
- int? offerMessageId,
- bool? wasExpired,
Implementation
MessageUpgradedGiftPurchaseOfferRejected copyWith({
UpgradedGift? gift,
GiftResalePrice? price,
int? offerMessageId,
bool? wasExpired,
}) => MessageUpgradedGiftPurchaseOfferRejected(
gift: gift ?? this.gift,
price: price ?? this.price,
offerMessageId: offerMessageId ?? this.offerMessageId,
wasExpired: wasExpired ?? this.wasExpired,
);