DetailsResult class Null safety


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)


addressComponents List<AddressComponent>?
addressComponents is an array containing the separate components applicable to this address.
adrAddress String?
adrAddress is a representation of the place's address in the adr microformat.
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
formattedAddress String?
formattedAddress is a string containing the human-readable address of this place.
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.
geometry Geometry?
geometry contains Geometry object.
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.
id String?
id contains id.
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.
name String?
name contains the human-readable name for the returned result. For establishment results, this is usually the canonicalized business name.
openingHours OpeningHours?
geometry contains OpeningHours object.
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.
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.
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).
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
rating double?
rating contains the place's rating, from 1.0 to 5.0, based on aggregated user reviews.
reference String?
reference contains reference.
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.
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scope String?
scope contains scope.
types List<String>?
types contains an array of feature types describing the given result. XML responses include multiple
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.
userRatingsTotal int?
userRatingsTotal is user ratings total.
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).
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.
website String?
website lists the authoritative website for this place, such as a business' homepage.


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.