copyWith method

GeocodeResult copyWith({
  1. List<GeocodeAddressList>? geocodeAddressList,
  2. GeocodeQuery? geocodeQuery,
})

Implementation

GeocodeResult copyWith({
  List<GeocodeAddressList>? geocodeAddressList,
  GeocodeQuery? geocodeQuery,
}) {
  return GeocodeResult(
    geocodeAddressList: geocodeAddressList ?? this.geocodeAddressList,
    geocodeQuery: geocodeQuery ?? this.geocodeQuery,
  );
}