copyWith method
SendGiftPurchaseOffer
copyWith({
- MessageSender? ownerId,
- String? giftName,
- GiftResalePrice? price,
- int? duration,
- int? paidMessageStarCount,
Implementation
SendGiftPurchaseOffer copyWith({
MessageSender? ownerId,
String? giftName,
GiftResalePrice? price,
int? duration,
int? paidMessageStarCount,
}) => SendGiftPurchaseOffer(
ownerId: ownerId ?? this.ownerId,
giftName: giftName ?? this.giftName,
price: price ?? this.price,
duration: duration ?? this.duration,
paidMessageStarCount: paidMessageStarCount ?? this.paidMessageStarCount,
);