GooglePlace class

The Places API is a service that returns information about places. Places are defined within this API as establishments, geographic locations, or prominent points of interest.

Constructors

GooglePlace(String apiKEY, {Map<String, String> headers = const {}, String? proxyUrl})

Properties

apiKEY String
apiKEY Your application's API key. This key identifies your application.
final
autocomplete ↔ Autocomplete
autocomplete automatically fills in the name and/or address of a place as users type.
getter/setter pair
details ↔ Details
details returns more detailed information about a specific place, including user reviews.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
Optional headers to pass on each request
final
photos ↔ Photos
photos provides access to the millions of place-related photos stored in Google's Place database.
getter/setter pair
proxyUrl String?
Optional proxy url to web request Can be formatted as https:// || http://host/<path>?<url-param-name>= http proxies are supported, but are not recommended for production use.
final
queryAutocomplete ↔ QueryAutocomplete
queryAutocomplete provides a query prediction service for text-based geographic searches, returning suggested queries as users type.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
search returns a list of places based on a user's location or search string.
getter/setter pair

Methods

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

Static Properties

timeout Duration
timeout timeout for http call.
getter/setter pair