copyWith method
GeocodeAddressList
copyWith(
{ - String? adcode,
- String? building,
- String? city,
- String? district,
- String? formatAddress,
- LatLng? latLng,
- String? level,
- String? neighborhood,
- String? province,
- String? township,
})
Implementation
GeocodeAddressList copyWith({
String? adcode,
String? building,
String? city,
String? district,
String? formatAddress,
LatLng? latLng,
String? level,
String? neighborhood,
String? province,
String? township,
}) {
return GeocodeAddressList(
adcode: adcode ?? this.adcode,
building: building ?? this.building,
city: city ?? this.city,
district: district ?? this.district,
formatAddress: formatAddress ?? this.formatAddress,
latLng: latLng ?? this.latLng,
level: level ?? this.level,
neighborhood: neighborhood ?? this.neighborhood,
province: province ?? this.province,
township: township ?? this.township,
);
}