Place class abstract

Constructors

Place([void updates(PlaceBuilder b)])
factory

Properties

addressComponents → BuiltList<AddressComponent>?
An array containing the separate components applicable to this address.
no setter
adrAddress String?
A representation of the place's address in the adr microformat.
no setter
businessStatus PlaceBusinessStatusEnum?
Indicates the operational status of the place, if it is a business. If no data exists, business_status is not returned.
no setter
formattedAddress String?
A string containing the human-readable address of this place. Often this address is equivalent to the postal address. Note that some countries, such as the United Kingdom, do not allow distribution of true postal addresses due to licensing restrictions. The formatted address is logically composed of one or more address components. For example, the address "111 8th Avenue, New York, NY" consists of the following components: "111" (the street number), "8th Avenue" (the route), "New York" (the city) and "NY" (the US state). Do not parse the formatted address programmatically. Instead you should use the individual address components, which the API response includes in addition to the formatted address field.
no setter
formattedPhoneNumber String?
Contains the place's phone number in its local format.
no setter
geometry Geometry?
no setter
hashCode int
The hash code for this object.
no setterinherited
icon String?
Contains the URL of a suggested icon which may be displayed to the user when indicating this result on a map.
no setter
iconBackgroundColor String?
Contains the default HEX color code for the place's category.
no setter
iconMaskBaseUri String?
Contains the URL of a recommended icon, minus the .svg or .png file type extension.
no setter
internationalPhoneNumber String?
Contains the place's phone number in international format. International format includes the country code, and is prefixed with the plus, +, sign. For example, the international_phone_number for Google's Sydney, Australia office is +61 2 9374 4000.
no setter
name String?
Contains the human-readable name for the returned result. For establishment results, this is usually the canonicalized business name.
no setter
openingHours PlaceOpeningHours?
no setter
permanentlyClosed bool?
Deprecated. The field permanently_closed is deprecated, and should not be used. Instead, use business_status to get the operational status of businesses.
no setter
photos → BuiltList<PlacePhoto>?
An array of photo objects, each containing a reference to an image. A request may return up to ten photos. More information about place photos and how you can use the images in your application can be found in the Place Photos documentation.
no setter
placeId String?
A textual identifier that uniquely identifies a place. To retrieve information about the place, pass this identifier in the place_id field of a Places API request. For more information about place IDs, see the place ID overview.
no setter
plusCode PlusCode?
no setter
priceLevel num?
The price level of the place, on a scale of 0 to 4. The exact amount indicated by a specific value will vary from region to region. Price levels are interpreted as follows: - 0 Free - 1 Inexpensive - 2 Moderate - 3 Expensive - 4 Very Expensive
no setter
rating num?
Contains the place's rating, from 1.0 to 5.0, based on aggregated user reviews.
no setter
reference String?
Deprecated
no setter
reviews → BuiltList<PlaceReview>?
A JSON array of up to five reviews. If a language parameter was specified in the request, the service will bias the results to prefer reviews written in that language.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
Deprecated.
no setter
types → BuiltList<String>?
Contains an array of feature types describing the given result. See the list of supported types.
no setter
url String?
Contains the URL of the official Google page for this place. This will be the Google-owned page that contains the best available information about the place. Applications must link to or embed this page on any screen that shows detailed results about the place to the user.
no setter
userRatingsTotal num?
The total number of reviews, with or without text, for this place.
no setter
utcOffset num?
Contains the number of minutes this place’s current timezone is offset from UTC. For example, for places in Sydney, Australia during daylight saving time this would be 660 (+11 hours from UTC), and for places in California outside of daylight saving time this would be -480 (-8 hours from UTC).
no setter
vicinity String?
For establishment (types:[\"establishment\", ...]) results only, the vicinity field contains a simplified address for the place, including the street name, street number, and locality, but not the province/state, postal code, or country. For all other results, the vicinity field contains the name of the narrowest political (types:[\"political\", ...]) feature that is present in the address of the result. This content is meant to be read as-is. Do not programmatically parse the formatted address.
no setter
website String?
The authoritative website for this place, such as a business' homepage.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PlaceBuilder)) Place
Rebuilds the instance.
inherited
toBuilder() PlaceBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Place>
no setter