GooglePlace class Null safety

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.


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


apiKEY String
apiKEY Your application's API key. This key identifies your application.
autocomplete ↔ Autocomplete
autocomplete automatically fills in the name and/or address of a place as users type.
read / write
details ↔ Details
details returns more detailed information about a specific place, including user reviews.
read / write
hashCode int
The hash code for this object.
read-only, inherited
headers Map<String, String>
Optional headers to pass on each request
photos ↔ Photos
photos provides access to the millions of place-related photos stored in Google's Place database.
read / write
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.
queryAutocomplete ↔ QueryAutocomplete
queryAutocomplete provides a query prediction service for text-based geographic searches, returning suggested queries as users type.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
search returns a list of places based on a user's location or search string.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


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

Static Properties

timeout Duration
timeout timeout for http call.
read / write