copyWith method

Implementation

StarTransactionTypeUpgradedGiftPurchase copyWith({
  int? userId,
  UpgradedGift? gift,
}) =>
    StarTransactionTypeUpgradedGiftPurchase(
      userId: userId ?? this.userId,
      gift: gift ?? this.gift,
    );