copyWith method

TonWalletTransactionTypeTelegramGiftOfferCreation copyWith({
  1. TonNft? nft,
  2. String? offerAddress,
  3. String? counterpartyAddress,
  4. int? price,
  5. int? amount,
  6. int? serviceFeeAmount,
  7. int? expirationDate,
})

Implementation

TonWalletTransactionTypeTelegramGiftOfferCreation copyWith({
  TonNft? nft,
  String? offerAddress,
  String? counterpartyAddress,
  int? price,
  int? amount,
  int? serviceFeeAmount,
  int? expirationDate,
}) =>
    TonWalletTransactionTypeTelegramGiftOfferCreation(
      nft: nft ?? this.nft,
      offerAddress: offerAddress ?? this.offerAddress,
      counterpartyAddress: counterpartyAddress ?? this.counterpartyAddress,
      price: price ?? this.price,
      amount: amount ?? this.amount,
      serviceFeeAmount: serviceFeeAmount ?? this.serviceFeeAmount,
      expirationDate: expirationDate ?? this.expirationDate,
    );