Details constructor

Details(
  1. List<Contact> contacts,
  2. List<OpeningHours> openingHours,
  3. List<PlaceCategory> categories,
  4. List<WebImage> images,
  5. List<WebEditorial> editorials,
  6. List<WebRating> ratings,
  7. List<SupplierReference> references, [
  8. EVChargingPool? evChargingPool = null,
  9. TruckAmenities? truckAmenities = null,
  10. FuelStation? fuelStation = null,
  11. List<PlaceFoodType> foodTypes = const [],
  12. POIPaymentDetails? payment = null,
])

Creates a new instance.

  • contacts The list of contact information of the place.

Note: Not available as part of Suggestion results.

  • openingHours The list of opening hours information of the place.

Note: Not available as part of Suggestion results.

  • categories The list of categories assigned to this place.
  • images 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.

Note: Not available as part of Suggestion results.

  • editorials 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.

Note: Not available as part of Suggestion results.

  • ratings 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.

Note: Not available as part of Suggestion results.

  • references 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.
  • 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.

For online search, this feature is only available if it is explicitly enabled. To do that, call SearchEngine.set_custom_option() with arguments: name: "lookup.show" or "discover.show" or "browse.show" value: "ev" To enable this feature for all queries, call SearchEngine.set_custom_option() for all: "lookup.show", "discover.show" and "browse.show". To enable fuel station details or truck amenities, the custom option value can be combined as "ev,truck", "ev,truck,fuel" etc.

Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a SearchError.forbidden will be propagated.

For online search, this feature is only available if it is explicitly enabled. To do that, call SearchEngine.set_custom_option() with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "truck" To enable this feature for all queries, call SearchEngine.set_custom_option() for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable both truck_amenities and fuel_station features, set the value to "fuel,truck".

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a SearchError.forbidden will be propagated.

For online search, this feature is only available if it is explicitly enabled. To do that, call SearchEngine.set_custom_option() with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "fuel" To enable this feature for all queries, call SearchEngine.set_custom_option() for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable both truck_amenities and fuel_station features, set the value to "fuel,truck".

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • foodTypes The list of food types assigned to this place. Not supported in OfflineSearchEngine (only available for the Navigate license).
  • payment Details about the payment options at the POI. Set to null if the place is not a POI or if payment details are not available. Not supported in OfflineSearchEngine (only available for the Navigate license).

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Implementation

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])
  : contacts = contacts, openingHours = openingHours, categories = categories, images = images, editorials = editorials, ratings = ratings, references = references, evChargingPool = evChargingPool ?? null, truckAmenities = truckAmenities ?? null, fuelStation = fuelStation ?? null, foodTypes = foodTypes, payment = payment ?? null;