AddressQuery.withAreaCenter constructor

AddressQuery.withAreaCenter(
  1. String query,
  2. GeoCoordinates areaCenter
)

Constructs an AddressQuery from the provided text query and geographical coordinates.

  • query Desired query to search.

  • areaCenter Geographical coordinates of the center around which to provide the most relevant places.

Implementation

factory AddressQuery.withAreaCenter(String query, GeoCoordinates areaCenter) => $prototype.withAreaCenter(query, areaCenter);