copyWithWrapped method

BankTransferUser copyWithWrapped({
  1. Wrapped<String>? legalName,
  2. Wrapped<String?>? emailAddress,
  3. Wrapped<String?>? routingNumber,
})

Implementation

BankTransferUser copyWithWrapped(
    {Wrapped<String>? legalName,
    Wrapped<String?>? emailAddress,
    Wrapped<String?>? routingNumber}) {
  return BankTransferUser(
      legalName: (legalName != null ? legalName.value : this.legalName),
      emailAddress:
          (emailAddress != null ? emailAddress.value : this.emailAddress),
      routingNumber:
          (routingNumber != null ? routingNumber.value : this.routingNumber));
}