copyWith method
AddressLabels<T>
copyWith(
{ - String? description,
- String? number,
- String? street,
- String? other,
- String? municipality,
- String? county,
- String? province,
- String? postalCode,
- String? countryCode,
- List<AddressTypeSelection<T>>? addressTypes,
- String? addressTypeTooltip,
- List<(String, String, Image?)>? provinceList,
})
Implementation
AddressLabels<T> copyWith({
String? description,
String? number,
String? street,
String? other,
String? municipality,
String? county,
String? province,
String? postalCode,
String? countryCode,
List<AddressTypeSelection<T>>? addressTypes,
String? addressTypeTooltip,
List<(String, String, Image?)>? provinceList,
}) {
return AddressLabels<T>(
description: description ?? this.description,
number: number ?? this.number,
street: street ?? this.street,
other: other ?? this.other,
municipality: municipality ?? this.municipality,
county: county ?? this.county,
province: province ?? this.province,
postalCode: postalCode ?? this.postalCode,
countryCode: countryCode ?? this.countryCode,
addressTypes: addressTypes ?? this.addressTypes,
provinceList: provinceList ?? this.provinceList,
);
}