PlacesSearchResult constructor

const PlacesSearchResult({
  1. String? id,
  2. required String reference,
  3. required String name,
  4. required String placeId,
  5. String? formattedAddress,
  6. List<Photo> photos = const [],
  7. List<AlternativeId> altIds = const [],
  8. List<String> types = const [],
  9. bool permanentlyClosed = false,
  10. String? icon,
  11. Geometry? geometry,
  12. OpeningHoursDetail? openingHours,
  13. String? scope,
  14. PriceLevel? priceLevel,
  15. num? rating,
  16. String? vicinity,
})

Implementation

const PlacesSearchResult({
  this.id,
  required this.reference,
  required this.name,
  required this.placeId,
  this.formattedAddress,
  this.photos = const [],
  this.altIds = const [],
  this.types = const [],
  this.permanentlyClosed = false,
  this.icon,
  this.geometry,
  this.openingHours,
  this.scope,
  this.priceLevel,
  this.rating,
  this.vicinity,
});