copyWith method
MessageUpgradedGiftPurchaseOffer
copyWith({
- UpgradedGift? gift,
- GiftPurchaseOfferState? state,
- GiftResalePrice? price,
- int? expirationDate,
Implementation
MessageUpgradedGiftPurchaseOffer copyWith({
UpgradedGift? gift,
GiftPurchaseOfferState? state,
GiftResalePrice? price,
int? expirationDate,
}) => MessageUpgradedGiftPurchaseOffer(
gift: gift ?? this.gift,
state: state ?? this.state,
price: price ?? this.price,
expirationDate: expirationDate ?? this.expirationDate,
);