copyWith method

GeocodeQuery copyWith({
  1. String? city,
  2. String? locationName,
})

Implementation

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