copyWith method
Implementation
W2StateAndLocalWages copyWith(
{String? state,
String? employerStateIdNumber,
String? stateWagesTips,
String? stateIncomeTax,
String? localWagesTips,
String? localIncomeTax,
String? localityName}) {
return W2StateAndLocalWages(
state: state ?? this.state,
employerStateIdNumber:
employerStateIdNumber ?? this.employerStateIdNumber,
stateWagesTips: stateWagesTips ?? this.stateWagesTips,
stateIncomeTax: stateIncomeTax ?? this.stateIncomeTax,
localWagesTips: localWagesTips ?? this.localWagesTips,
localIncomeTax: localIncomeTax ?? this.localIncomeTax,
localityName: localityName ?? this.localityName);
}