copyWith method
Implementation
GeocodeEntity copyWith({
String? province,
String? provinceId,
String? city,
String? cityId,
String? district,
String? districtId,
double? latitude,
double? longitude,
}) {
return GeocodeEntity(
province: province ?? this.province,
provinceId: provinceId ?? this.provinceId,
city: city ?? this.city,
cityId: cityId ?? this.cityId,
district: district ?? this.district,
districtId: districtId ?? this.districtId,
latitude: latitude ?? this.latitude,
longitude: longitude ?? this.longitude,
);
}