fromNearbyAddressModel static method
Implementation
static NearbyOrAreaPickerAddressModel fromNearbyAddressModel(
NearbyAddressModel nearbyAddressModel) {
return NearbyOrAreaPickerAddressModel(
provinceName: nearbyAddressModel.provinceName,
provinceCode: nearbyAddressModel.provinceCode,
cityName: nearbyAddressModel.cityName,
cityCode: nearbyAddressModel.cityCode,
areaName: nearbyAddressModel.areaName,
areaCode: nearbyAddressModel.areaCode,
address: nearbyAddressModel.address,
name: nearbyAddressModel.name,
latitude: nearbyAddressModel.latitude,
longitude: nearbyAddressModel.longitude,
);
}