copyWith method
Implementation
AddressComponent copyWith({
String? longName,
String? shortName,
List<String>? types,
}) {
return AddressComponent(
longName: longName ?? this.longName,
shortName: shortName ?? this.shortName,
types: types ?? this.types,
);
}