copyWith method

TonWalletTransactionTypeTelegramGiftOfferAcceptance copyWith({
  1. TonNft? nft,
  2. bool? isBuyer,
  3. String? offerAddress,
  4. String? counterpartyAddress,
  5. int? price,
  6. int? serviceFeeAmount,
})

Implementation

TonWalletTransactionTypeTelegramGiftOfferAcceptance copyWith({
  TonNft? nft,
  bool? isBuyer,
  String? offerAddress,
  String? counterpartyAddress,
  int? price,
  int? serviceFeeAmount,
}) =>
    TonWalletTransactionTypeTelegramGiftOfferAcceptance(
      nft: nft ?? this.nft,
      isBuyer: isBuyer ?? this.isBuyer,
      offerAddress: offerAddress ?? this.offerAddress,
      counterpartyAddress: counterpartyAddress ?? this.counterpartyAddress,
      price: price ?? this.price,
      serviceFeeAmount: serviceFeeAmount ?? this.serviceFeeAmount,
    );