copyWithWrapped method
Implementation
PaystubAddress copyWithWrapped(
{Wrapped<String?>? city,
Wrapped<String?>? country,
Wrapped<String?>? postalCode,
Wrapped<String?>? region,
Wrapped<String?>? street,
Wrapped<String?>? line1,
Wrapped<String?>? line2,
Wrapped<String?>? stateCode}) {
return PaystubAddress(
city: (city != null ? city.value : this.city),
country: (country != null ? country.value : this.country),
postalCode: (postalCode != null ? postalCode.value : this.postalCode),
region: (region != null ? region.value : this.region),
street: (street != null ? street.value : this.street),
line1: (line1 != null ? line1.value : this.line1),
line2: (line2 != null ? line2.value : this.line2),
stateCode: (stateCode != null ? stateCode.value : this.stateCode));
}