copyWithWrapped method

Credit1099Recipient copyWithWrapped({
  1. Wrapped<CreditPayStubAddress?>? address,
  2. Wrapped<String?>? name,
  3. Wrapped<String?>? tin,
  4. Wrapped<String?>? accountNumber,
  5. Wrapped<String?>? factaFilingRequirement,
  6. Wrapped<String?>? secondTinExists,
})

Implementation

Credit1099Recipient copyWithWrapped(
    {Wrapped<CreditPayStubAddress?>? address,
    Wrapped<String?>? name,
    Wrapped<String?>? tin,
    Wrapped<String?>? accountNumber,
    Wrapped<String?>? factaFilingRequirement,
    Wrapped<String?>? secondTinExists}) {
  return Credit1099Recipient(
      address: (address != null ? address.value : this.address),
      name: (name != null ? name.value : this.name),
      tin: (tin != null ? tin.value : this.tin),
      accountNumber:
          (accountNumber != null ? accountNumber.value : this.accountNumber),
      factaFilingRequirement: (factaFilingRequirement != null
          ? factaFilingRequirement.value
          : this.factaFilingRequirement),
      secondTinExists: (secondTinExists != null
          ? secondTinExists.value
          : this.secondTinExists));
}