GoogleMapsPlaces class

https://developers.google.com/places/web-service/

Constructors

GoogleMapsPlaces({String apiKey, String baseUrl, Client httpClient, Map<String, dynamic> apiHeaders})

Properties

apiHeaders Map<String, dynamic>
read-only, inherited
apiKey String
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
httpClient Client
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url String
read-only, inherited

Methods

autocomplete(String input, {String sessionToken, num offset, Location origin, Location location, num radius, String language, List<String> types, List<Component> components, bool strictbounds, String region}) Future<PlacesAutocompleteResponse>
buildAutocompleteUrl({String input, String sessionToken, num offset, Location origin, Location location, num radius, String language, List<String> types, List<Component> components, bool strictbounds, String region}) String
buildDetailsUrl({String placeId, String reference, String sessionToken, String language, List<String> fields, String region}) String
buildNearbySearchUrl({Location location, num radius, String type, String keyword, String language, PriceLevel minprice, PriceLevel maxprice, String name, String rankby, String pagetoken}) String
buildPhotoUrl({String photoReference, int maxWidth, int maxHeight}) String
buildQuery(Map<String, dynamic> params) String
@protected, inherited
buildQueryAutocompleteUrl({String input, num offset, Location location, num radius, String language}) String
buildTextSearchUrl({String query, Location location, num radius, PriceLevel minprice, PriceLevel maxprice, bool opennow, String type, String pagetoken, String language, String region}) String
dispose() → void
inherited
doGet(String url, {Map<String, dynamic> headers}) Future<Response>
@protected, inherited
doPost(String url, String body, {Map<String, dynamic> headers}) Future<Response>
@protected, inherited
getDetailsByPlaceId(String placeId, {String sessionToken, List<String> fields, String language, String region}) Future<PlacesDetailsResponse>
getDetailsByReference(String reference, {String sessionToken, List<String> fields, String language}) Future<PlacesDetailsResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
queryAutocomplete(String input, {num offset, Location location, num radius, String language}) Future<PlacesAutocompleteResponse>
searchByText(String query, {Location location, num radius, PriceLevel minprice, PriceLevel maxprice, bool opennow, String type, String pagetoken, String language, String region}) Future<PlacesSearchResponse>
searchNearbyWithRadius(Location location, num radius, {String type, String keyword, String language, PriceLevel minprice, PriceLevel maxprice, String name, String pagetoken}) Future<PlacesSearchResponse>
searchNearbyWithRankBy(Location location, String rankby, {String type, String keyword, String language, PriceLevel minprice, PriceLevel maxprice, String name, String pagetoken}) Future<PlacesSearchResponse>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited