copyWithWrapped method

CreditPayStubEmployer copyWithWrapped({
  1. Wrapped<CreditPayStubAddress>? address,
  2. Wrapped<String?>? name,
})

Implementation

CreditPayStubEmployer copyWithWrapped(
    {Wrapped<CreditPayStubAddress>? address, Wrapped<String?>? name}) {
  return CreditPayStubEmployer(
      address: (address != null ? address.value : this.address),
      name: (name != null ? name.value : this.name));
}