copyWith method

GiftForResale copyWith({
  1. UpgradedGift? gift,
  2. String? receivedGiftId,
})

Implementation

GiftForResale copyWith({UpgradedGift? gift, String? receivedGiftId}) =>
    GiftForResale(
      gift: gift ?? this.gift,
      receivedGiftId: receivedGiftId ?? this.receivedGiftId,
    );