copyWith method
Creates a copy of this VCardAddress
but with the given fields replaced with the new values.
Implementation
VCardAddress copyWith({
VCardIdentifier? identifier,
bool? preferred,
String? auxLine1,
String? auxLine2,
String? street,
String? city,
String? state,
String? zipCode,
String? country,
}) =>
VCardAddress(
identifier: identifier ?? this.identifier,
preferred: preferred ?? this.preferred,
auxLine1: auxLine1 ?? this.auxLine1,
auxLine2: auxLine2 ?? this.auxLine2,
street: street ?? this.street,
city: city ?? this.city,
state: state ?? this.state,
zipCode: zipCode ?? this.zipCode,
country: country ?? this.country,
);