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})
PlaceDetails.fromJson(Map<String, dynamic> json)
factory

Properties

addressComponents List<AddressComponent>
JSON address_components
final
adrAddress String?
JSON adr_address
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
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
priceLevel PriceLevel?
JSON price_level
final
rating num?
final
reference String?
final
reviews List<Review>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
final
types List<String>
final
url String?
final
utcOffset num?
JSON utc_offset
final
vicinity String?
final
website String?
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