copyWith method

Implementation

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