copyWithWrapped method
Implementation
W2StateAndLocalWages copyWithWrapped(
{Wrapped<String?>? state,
Wrapped<String?>? employerStateIdNumber,
Wrapped<String?>? stateWagesTips,
Wrapped<String?>? stateIncomeTax,
Wrapped<String?>? localWagesTips,
Wrapped<String?>? localIncomeTax,
Wrapped<String?>? localityName}) {
return W2StateAndLocalWages(
state: (state != null ? state.value : this.state),
employerStateIdNumber: (employerStateIdNumber != null
? employerStateIdNumber.value
: this.employerStateIdNumber),
stateWagesTips: (stateWagesTips != null
? stateWagesTips.value
: this.stateWagesTips),
stateIncomeTax: (stateIncomeTax != null
? stateIncomeTax.value
: this.stateIncomeTax),
localWagesTips: (localWagesTips != null
? localWagesTips.value
: this.localWagesTips),
localIncomeTax: (localIncomeTax != null
? localIncomeTax.value
: this.localIncomeTax),
localityName:
(localityName != null ? localityName.value : this.localityName));
}