copyWith method

TonTransactionTypeUpgradedGiftSale copyWith({
  1. int? userId,
  2. UpgradedGift? gift,
  3. int? commissionPerMille,
  4. int? commissionGramAmount,
  5. bool? viaOffer,
})

Implementation

TonTransactionTypeUpgradedGiftSale copyWith({
  int? userId,
  UpgradedGift? gift,
  int? commissionPerMille,
  int? commissionGramAmount,
  bool? viaOffer,
}) =>
    TonTransactionTypeUpgradedGiftSale(
      userId: userId ?? this.userId,
      gift: gift ?? this.gift,
      commissionPerMille: commissionPerMille ?? this.commissionPerMille,
      commissionGramAmount: commissionGramAmount ?? this.commissionGramAmount,
      viaOffer: viaOffer ?? this.viaOffer,
    );