Place class

Constructors

Place.new(Geocoding? geocode, {String? description, String? placeId, List? types})
Place.fromJSON(dynamic place, Geocoding? geocode)

Properties

description String?
Contains the human-readable name for the returned result. For establishment results, this is usually the business name.
getter/setter pair
fullJSON ↔ dynamic
Has the full JSON response received from the Places API. Can be used to extract extra information. More info on the Places Autocomplete API documentation
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
placeId String?
A textual identifier that uniquely identifies a place. To retrieve information about the place, pass this identifier in the placeId field of a Places API request. For more information about place IDs, see the Place IDs overview.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types List?
Contains an array of types that apply to this place. For example:
getter/setter pair

Methods

getGeolocation(String apiHost, {MarkHttpHeader? headers}) Future<Geolocation?>
Fetches the Geolocation API from Google Maps to get more information about the place, including coordinates, bounds, etc.
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