copyWith method
Implementation
PaystubAddress copyWith(
{String? city,
String? country,
String? postalCode,
String? region,
String? street,
String? line1,
String? line2,
String? stateCode}) {
return PaystubAddress(
city: city ?? this.city,
country: country ?? this.country,
postalCode: postalCode ?? this.postalCode,
region: region ?? this.region,
street: street ?? this.street,
line1: line1 ?? this.line1,
line2: line2 ?? this.line2,
stateCode: stateCode ?? this.stateCode);
}