copyWith method

MessageTonWalletTransfer copyWith({
  1. int? senderUserId,
  2. String? transactionId,
  3. String? peerAddress,
  4. int? amount,
  5. String? comment,
  6. bool? isCommentEncrypted,
  7. String? onRampProviderName,
})

Implementation

MessageTonWalletTransfer copyWith({
  int? senderUserId,
  String? transactionId,
  String? peerAddress,
  int? amount,
  String? comment,
  bool? isCommentEncrypted,
  String? onRampProviderName,
}) =>
    MessageTonWalletTransfer(
      senderUserId: senderUserId ?? this.senderUserId,
      transactionId: transactionId ?? this.transactionId,
      peerAddress: peerAddress ?? this.peerAddress,
      amount: amount ?? this.amount,
      comment: comment ?? this.comment,
      isCommentEncrypted: isCommentEncrypted ?? this.isCommentEncrypted,
      onRampProviderName: onRampProviderName ?? this.onRampProviderName,
    );