copyWith method
SendResoldGift
copyWith({
- String? giftName,
- MessageSender? ownerId,
- GiftResalePrice? price,
- FormattedText? text,
- bool? isPrivate,
Implementation
SendResoldGift copyWith({
String? giftName,
MessageSender? ownerId,
GiftResalePrice? price,
FormattedText? text,
bool? isPrivate,
}) =>
SendResoldGift(
giftName: giftName ?? this.giftName,
ownerId: ownerId ?? this.ownerId,
price: price ?? this.price,
text: text ?? this.text,
isPrivate: isPrivate ?? this.isPrivate,
);