copyWith method

SendResoldGift copyWith({
  1. String? giftName,
  2. MessageSender? ownerId,
  3. GiftResalePrice? price,
})

Implementation

SendResoldGift copyWith({
  String? giftName,
  MessageSender? ownerId,
  GiftResalePrice? price,
}) => SendResoldGift(
  giftName: giftName ?? this.giftName,
  ownerId: ownerId ?? this.ownerId,
  price: price ?? this.price,
);