TextQueryArea.withCountries constructor

TextQueryArea.withCountries(
  1. List<CountryCode> countries,
  2. GeoCoordinates areaCenter
)

Constructs a new instance of this class from provided parameters.

The given list of countries and center define the area that will be used in the search query.

  • countries A list of countries that the query is applied in.

  • areaCenter Geographic coordinates of the prioritized area center.

Implementation

factory TextQueryArea.withCountries(List<CountryCode> countries, GeoCoordinates areaCenter) => $prototype.withCountries(countries, areaCenter);