DetailsResult class Null safety

Constructors

DetailsResult({List<AddressComponent>? addressComponents, String? businessStatus, String? adrAddress, String? formattedAddress, String? formattedPhoneNumber, Geometry? geometry, String? icon, String? id, String? internationalPhoneNumber, String? name, OpeningHours? openingHours, List<Photo>? photos, String? placeId, PlusCode? plusCode, double? rating, String? reference, List<Review>? reviews, String? scope, List<String>? types, String? url, int? userRatingsTotal, int? utcOffset, String? vicinity, String? website, int? priceLevel, bool? permanentlyClosed})
DetailsResult.fromJson(Map<String, dynamic> json)
factory

Properties

addressComponents List<AddressComponent>?
addressComponents is an array containing the separate components applicable to this address.
final
adrAddress String?
adrAddress is a representation of the place's address in the adr microformat.
final
businessStatus String?
businessStatus indicates the operational status of the place, if it is a business. If no data exists, business_status is not returned. It can contain one of the following values: OPERATIONAL CLOSED_TEMPORARILY CLOSED_PERMANENTLY
final
formattedAddress String?
formattedAddress is a string containing the human-readable address of this place.
final
formattedPhoneNumber String?
formattedPhoneNumber contains the place's phone number in its local format. For example, the formatted_phone_number for Google's Sydney, Australia office is (02) 9374 4000.
final
geometry Geometry?
geometry contains Geometry object.
final
hashCode int
The hash code for this object.
read-only, inherited
icon String?
icon contains the URL of a suggested icon which may be displayed to the user when indicating this result on a map.
final
id String?
id contains id.
final
internationalPhoneNumber String?
internationalPhoneNumber 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.
final
name String?
name contains the human-readable name for the returned result. For establishment results, this is usually the canonicalized business name.
final
openingHours OpeningHours?
geometry contains OpeningHours object.
final
permanentlyClosed bool?
permanentlyClosed is a boolean flag indicating whether the place has shut down either permanently or temporarily (value true). If the place is operational, or if no data is available, the flag is absent from the response.
@Deprecated('permanently_closed is now deprecated. Instead, use business_status to get the operational status of businesses.'), final
photos List<Photo>?
photos an array of photo objects, each containing a reference to an image.
final
placeId String?
placeId 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.
final
plusCode PlusCode?
plusCode is an encoded location reference, derived from latitude and longitude coordinates, that represents an area: 1/8000th of a degree by 1/8000th of a degree (about 14m x 14m at the equator) or smaller. Plus codes can be used as a replacement for street addresses in places where they do not exist (where buildings are not numbered or streets are not named).
final
priceLevel int?
priceLevel 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
final
rating double?
rating contains the place's rating, from 1.0 to 5.0, based on aggregated user reviews.
final
reference String?
reference contains reference.
final
reviews List<Review>?
reviews a JSON array of up to five reviews. If a language parameter was specified in the Place Details request, the Places Service will bias the results to prefer reviews written in that language.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scope String?
scope contains scope.
final
types List<String>?
types contains an array of feature types describing the given result. XML responses include multiple
final
url String?
url 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.
final
userRatingsTotal int?
userRatingsTotal is user ratings total.
final
utcOffset int?
utcOffset 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).
final
vicinity String?
vicinity lists a simplified address for the place, including the street name, street number, and locality, but not the province/state, postal code, or country. For example, Google's Sydney, Australia office has a vicinity value of 48 Pirrama Road, Pyrmont.
final
website String?
website lists the authoritative website for this place, such as a business' homepage.
final

Methods

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

Operators

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