NearByPlaceDetails class

Nearby Search row from Places.

Constructors

NearByPlaceDetails({required String description, required List matchedSubstrings, required String placeId, required String reference, required StructuredFormatting structuredFormatting, required List<Term> terms, required List<String> types, required List<String> layer, required int? distanceMeters, Map<String, dynamic>? openingHours, String? businessStatus, String? url, String? formattedPhoneNumber, String? internationalPhoneNumber, String? website, List photos = const [], num? rating, List amenitiesAvailable = const [], dynamic wheelchairAccessibility, dynamic parkingAvailable, dynamic isLandmark, String? landmarkType, String? paymentMode, List popularItems = const [], dynamic languageSpoken})
Creates a nearby-search row.
NearByPlaceDetails.fromJson(Map<String, dynamic> json)
Parses a nearby-search JSON object.
factory

Properties

amenitiesAvailable → List
Amenities advertised by the place.
final
businessStatus → String?
Business open/closed status.
final
description → String
Display label.
final
distanceMeters → int?
Distance from the search origin, in meters.
final
formattedPhoneNumber → String?
Local phone number.
final
hashCode → int
The hash code for this object.
no setterinherited
internationalPhoneNumber → String?
International phone number.
final
isLandmark → dynamic
Landmark classification flag.
final
landmarkType → String?
Landmark category.
final
languageSpoken → dynamic
Languages spoken at the venue.
final
layer → List<String>
Map-data layers.
final
matchedSubstrings → List
Query match ranges.
final
openingHours → Map<String, dynamic>?
Opening hours JSON, if present.
final
parkingAvailable → dynamic
Parking flag.
final
paymentMode → String?
Accepted payment modes.
final
photos → List
Photo metadata list.
final
placeId → String
Ola Maps place id.
final
popularItems → List
Popular menu or catalog items.
final
rating → num?
Average rating.
final
reference → String
Alternate place reference token.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
structuredFormatting → StructuredFormatting
Bold/main and secondary labels.
final
terms → List<Term>
Tokenized description parts.
final
types → List<String>
Place-type tags.
final
url → String?
Maps URL.
final
website → String?
Website URL.
final
wheelchairAccessibility → dynamic
Wheelchair access flag.
final

Methods

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

Operators

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