PlaceDetails class

Annotations
  • @JsonSerializable()

Constructors

PlaceDetails({String? adrAddress, required String name, required String placeId, num? utcOffset, String? id, String? internationalPhoneNumber, List<AddressComponent> addressComponents = const [], List<Photo> photos = const [], List<String> types = const [], List<Review> reviews = const [], String? formattedAddress, String? formattedPhoneNumber, String? reference, String? icon, num? rating, OpeningHoursDetail? openingHours, PriceLevel? priceLevel, String? scope, String? url, String? vicinity, String? website, Geometry? geometry, String? businessStatus, bool? curbsidePickup, bool? delivery, bool? dineIn, PlaceEditorialSummary? editorialSummary, String? iconBackgroundColor, String? iconMaskBaseUri, PlusCode? plusCode, bool? reservable, bool? servesBeer, bool? servesBreakfast, bool? servesBrunch, bool? servesDinner, bool? servesLunch, bool? servesVegetarianFood, bool? servesWine, bool? takeout, int? userRatingsTotal, bool? wheelChairAccessibleEntrance})
PlaceDetails.fromJson(Map<String, dynamic> json)
factory

Properties

addressComponents List<AddressComponent>
JSON address_components
final
adrAddress String?
JSON adr_address
final
businessStatus String?
final
curbsidePickup bool?
final
delivery bool?
final
dineIn bool?
final
editorialSummary PlaceEditorialSummary?
final
formattedAddress String?
JSON formatted_address
final
formattedPhoneNumber String?
JSON formatted_phone_number
final
geometry Geometry?
final
hashCode int
The hash code for this object.
no setterinherited
icon String?
final
iconBackgroundColor String?
final
iconMaskBaseUri String?
final
id String?
final
internationalPhoneNumber String?
JSON international_phone_number
final
name String
final
openingHours OpeningHoursDetail?
JSON opening_hours
final
photos List<Photo>
final
placeId String
JSON place_id
final
plusCode PlusCode?
final
priceLevel PriceLevel?
JSON price_level
final
rating num?
final
reference String?
final
reservable bool?
final
reviews List<Review>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
final
servesBeer bool?
final
servesBreakfast bool?
final
servesBrunch bool?
final
servesDinner bool?
final
servesLunch bool?
final
servesVegetarianFood bool?
final
servesWine bool?
final
takeout bool?
final
types List<String>
final
url String?
final
userRatingsTotal int?
final
utcOffset num?
JSON utc_offset
final
vicinity String?
final
website String?
final
wheelChairAccessibleEntrance bool?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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