copyWithWrapped method

BankTransferMigrateAccountRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? accountNumber,
  4. Wrapped<String>? routingNumber,
  5. Wrapped<String?>? wireRoutingNumber,
  6. Wrapped<String>? accountType,
})

Implementation

BankTransferMigrateAccountRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? accountNumber,
    Wrapped<String>? routingNumber,
    Wrapped<String?>? wireRoutingNumber,
    Wrapped<String>? accountType}) {
  return BankTransferMigrateAccountRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      accountNumber:
          (accountNumber != null ? accountNumber.value : this.accountNumber),
      routingNumber:
          (routingNumber != null ? routingNumber.value : this.routingNumber),
      wireRoutingNumber: (wireRoutingNumber != null
          ? wireRoutingNumber.value
          : this.wireRoutingNumber),
      accountType:
          (accountType != null ? accountType.value : this.accountType));
}