copyWith method
Implementation
GeocodeQuery copyWith({
String? city,
String? locationName,
}) {
return GeocodeQuery(
city: city ?? this.city,
locationName: locationName ?? this.locationName,
);
}
GeocodeQuery copyWith({
String? city,
String? locationName,
}) {
return GeocodeQuery(
city: city ?? this.city,
locationName: locationName ?? this.locationName,
);
}