copyWith method

WalletTransactionExecuteRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? idempotencyKey,
  4. String? walletId,
  5. WalletTransactionCounterparty? counterparty,
  6. WalletTransactionAmount? amount,
  7. String? reference,
})

Implementation

WalletTransactionExecuteRequest copyWith(
    {String? clientId,
    String? secret,
    String? idempotencyKey,
    String? walletId,
    WalletTransactionCounterparty? counterparty,
    WalletTransactionAmount? amount,
    String? reference}) {
  return WalletTransactionExecuteRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      idempotencyKey: idempotencyKey ?? this.idempotencyKey,
      walletId: walletId ?? this.walletId,
      counterparty: counterparty ?? this.counterparty,
      amount: amount ?? this.amount,
      reference: reference ?? this.reference);
}