copyWith method

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

Implementation

Credit1099Recipient copyWith(
    {CreditPayStubAddress? address,
    String? name,
    String? tin,
    String? accountNumber,
    String? factaFilingRequirement,
    String? secondTinExists}) {
  return Credit1099Recipient(
      address: address ?? this.address,
      name: name ?? this.name,
      tin: tin ?? this.tin,
      accountNumber: accountNumber ?? this.accountNumber,
      factaFilingRequirement:
          factaFilingRequirement ?? this.factaFilingRequirement,
      secondTinExists: secondTinExists ?? this.secondTinExists);
}