copyWith method

TransferAuthorizationProposedTransfer copyWith({
  1. ACHClass? achClass,
  2. String? accountId,
  3. TransferType? type,
  4. TransferUserInResponse? user,
  5. String? amount,
  6. String? network,
  7. String? originationAccountId,
  8. String? isoCurrencyCode,
  9. String? originatorClientId,
})

Implementation

TransferAuthorizationProposedTransfer copyWith(
    {enums.ACHClass? achClass,
    String? accountId,
    enums.TransferType? type,
    TransferUserInResponse? user,
    String? amount,
    String? network,
    String? originationAccountId,
    String? isoCurrencyCode,
    String? originatorClientId}) {
  return TransferAuthorizationProposedTransfer(
      achClass: achClass ?? this.achClass,
      accountId: accountId ?? this.accountId,
      type: type ?? this.type,
      user: user ?? this.user,
      amount: amount ?? this.amount,
      network: network ?? this.network,
      originationAccountId: originationAccountId ?? this.originationAccountId,
      isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
      originatorClientId: originatorClientId ?? this.originatorClientId);
}