copyWith method

TonWalletTransactionTypeTransfer copyWith({
  1. int? amount,
  2. bool? isGasless,
  3. String? comment,
  4. bool? isCommentEncrypted,
})

Implementation

TonWalletTransactionTypeTransfer copyWith({
  int? amount,
  bool? isGasless,
  String? comment,
  bool? isCommentEncrypted,
}) =>
    TonWalletTransactionTypeTransfer(
      amount: amount ?? this.amount,
      isGasless: isGasless ?? this.isGasless,
      comment: comment ?? this.comment,
      isCommentEncrypted: isCommentEncrypted ?? this.isCommentEncrypted,
    );