copyWith method
MessageUpgradedGiftOnChainPurchaseOffer
copyWith({
- UpgradedGift? gift,
- bool? isBuyer,
- GiftOnChainPurchaseOfferState? state,
- String? offerAddress,
- int? gramAmount,
- int? feeBasisPoints,
- int? expirationDate,
- int? offerMessageId,
Implementation
MessageUpgradedGiftOnChainPurchaseOffer copyWith({
UpgradedGift? gift,
bool? isBuyer,
GiftOnChainPurchaseOfferState? state,
String? offerAddress,
int? gramAmount,
int? feeBasisPoints,
int? expirationDate,
int? offerMessageId,
}) =>
MessageUpgradedGiftOnChainPurchaseOffer(
gift: gift ?? this.gift,
isBuyer: isBuyer ?? this.isBuyer,
state: state ?? this.state,
offerAddress: offerAddress ?? this.offerAddress,
gramAmount: gramAmount ?? this.gramAmount,
feeBasisPoints: feeBasisPoints ?? this.feeBasisPoints,
expirationDate: expirationDate ?? this.expirationDate,
offerMessageId: offerMessageId ?? this.offerMessageId,
);