copyWith method
Address
copyWith(
{ - String? formatted,
- String? street,
- String? city,
- String? state,
- String? postalCode,
- String? country,
- String? isoCountryCode,
- String? subAdministrativeArea,
- String? subLocality,
- String? poBox,
- String? neighborhood,
- Label<AddressLabel>? label,
- PropertyMetadata? metadata,
})
Implementation
Address copyWith({
String? formatted,
String? street,
String? city,
String? state,
String? postalCode,
String? country,
String? isoCountryCode,
String? subAdministrativeArea,
String? subLocality,
String? poBox,
String? neighborhood,
Label<AddressLabel>? label,
PropertyMetadata? metadata,
}) => Address(
formatted: formatted ?? this.formatted,
street: street ?? this.street,
city: city ?? this.city,
state: state ?? this.state,
postalCode: postalCode ?? this.postalCode,
country: country ?? this.country,
isoCountryCode: isoCountryCode ?? this.isoCountryCode,
subAdministrativeArea: subAdministrativeArea ?? this.subAdministrativeArea,
subLocality: subLocality ?? this.subLocality,
poBox: poBox ?? this.poBox,
neighborhood: neighborhood ?? this.neighborhood,
label: label ?? this.label,
metadata: metadata ?? this.metadata,
);