Places class

Constructors

Places({required String apiKey, required Client client})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

autocomplete({required String input, PlaceAutocompleteRequestOptions? options}) Future<PlacesAutocompleteResponse>
The Place Autocomplete API returns place predictions in response of a textual search string and optional geographic bounds. Specify options to get more specific results
details({required String placeId, PlaceDetailsRequestOptions? options}) Future<PlaceDetailsResponse>
Once you have a place_id from a Place Search, you can request more details about a particular establishment or point of interest by initiating a Place Details request. A Place Details request returns more comprehensive information about the indicated place such as its complete address, phone number, user rating and reviews.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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