Details class - search library - Dart API
Details
Details class
Contains details of a specific place, such as contact information, opening hours and assigned categories.
Constructors
-
Details(List<
Contact> contacts, List<OpeningHours> openingHours, List<PlaceCategory> categories, List<WebImage> images, List<WebEditorial> editorials, List<WebRating> ratings, List<SupplierReference> references, [EVChargingPool? evChargingPool = null, TruckAmenities? truckAmenities = null, FuelStation? fuelStation = null, List<PlaceFoodType> foodTypes = const [], POIPaymentDetails? payment = null]) - Creates a new instance.
-
Details.withDefaults(List<
Contact> contacts, List<OpeningHours> openingHours, List<PlaceCategory> categories, List<WebImage> images, List<WebEditorial> editorials, List<WebRating> ratings, List<SupplierReference> references) - Creates a new instance.
Properties
-
categories
↔ List<
PlaceCategory> -
The list of categories assigned to this place.
getter/setter pair
-
contacts
↔ List<
Contact> -
The list of contact information of the place.
getter/setter pair
-
editorials
↔ List<
WebEditorial> -
The list of editorials associated with the place.
The editorials are provided by external suppliers and are only available to users with
valid contracts with said suppliers. If the user has no such contracts, the list is empty.
getter/setter pair
- evChargingPool ↔ EVChargingPool?
-
EV charging pool details. It is available only for a place that is a charging pool
for electric vehicles.
It is fully supported for offline search, provided that LayerConfigurationFeature.ev
is enabled in SDKOptions.layerConfiguration.
getter/setter pair
-
foodTypes
↔ List<
PlaceFoodType> -
The list of food types assigned to this place.
Not supported in
OfflineSearchEngine(not available in all editions).getter/setter pair - fuelStation ↔ FuelStation?
-
Fuel station details. It is available only if a place is a fuel station and contain fuel data.
It is fully supported for offline search, provided that LayerConfigurationFeature.fuelStationAttributes
is enabled in SDKOptions.layerConfiguration.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
-
images
↔ List<
WebImage> -
The list of images associated with the place.
The images are provided by external suppliers and are only available to users with
valid contracts with said suppliers. If the user has no such contracts, the list is empty.
getter/setter pair
-
openingHours
↔ List<
OpeningHours> -
The list of opening hours information of the place.
getter/setter pair
- payment ↔ POIPaymentDetails?
-
Details about the payment options at the POI.
Set to
nullif the place is not a POI or if payment details are not available. Not supported inOfflineSearchEngine(not available in all editions).getter/setter pair -
ratings
↔ List<
WebRating> -
The list of ratings associated with the place.
The ratings are provided by external suppliers and are only available to users with
valid contracts with said suppliers. If the user has no such contracts, the list is empty.
getter/setter pair
-
references
↔ List<
SupplierReference> -
The list of supplier references to this place.
The references are provided by external suppliers and are only available to users with
valid contracts with said suppliers. If the user has no such contracts, the list is empty.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- truckAmenities ↔ TruckAmenities?
-
Additional information that is available only for places that contain truck amenities.
It is fully supported for offline search, provided that LayerConfigurationFeature.truckServiceAttributes
is enabled in SDKOptions.layerConfiguration.
getter/setter pair
Methods
-
getPrimaryCategories(
) → List< PlaceCategory> - Gets the list of primary categories assigned to this place.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.