PlaceDetails constructor

PlaceDetails({
  1. String? adrAddress,
  2. required String name,
  3. required String placeId,
  4. num? utcOffset,
  5. String? id,
  6. String? internationalPhoneNumber,
  7. List<AddressComponent> addressComponents = const [],
  8. List<Photo> photos = const [],
  9. List<String> types = const [],
  10. List<Review> reviews = const [],
  11. String? formattedAddress,
  12. String? formattedPhoneNumber,
  13. String? reference,
  14. String? icon,
  15. num? rating,
  16. OpeningHoursDetail? openingHours,
  17. PriceLevel? priceLevel,
  18. String? scope,
  19. String? url,
  20. String? vicinity,
  21. String? website,
  22. Geometry? geometry,
  23. String? businessStatus,
  24. bool? curbsidePickup,
  25. bool? delivery,
  26. bool? dineIn,
  27. PlaceEditorialSummary? editorialSummary,
  28. String? iconBackgroundColor,
  29. String? iconMaskBaseUri,
  30. PlusCode? plusCode,
  31. bool? reservable,
  32. bool? servesBeer,
  33. bool? servesBreakfast,
  34. bool? servesBrunch,
  35. bool? servesDinner,
  36. bool? servesLunch,
  37. bool? servesVegetarianFood,
  38. bool? servesWine,
  39. bool? takeout,
  40. int? userRatingsTotal,
  41. bool? wheelChairAccessibleEntrance,
})

Implementation

PlaceDetails({
  this.adrAddress,
  required this.name,
  required this.placeId,
  this.utcOffset,
  this.id,
  this.internationalPhoneNumber,
  this.addressComponents = const [],
  this.photos = const [],
  this.types = const [],
  this.reviews = const [],
  this.formattedAddress,
  this.formattedPhoneNumber,
  this.reference,
  this.icon,
  this.rating,
  this.openingHours,
  this.priceLevel,
  this.scope,
  this.url,
  this.vicinity,
  this.website,
  this.geometry,
  this.businessStatus,
  this.curbsidePickup,
  this.delivery,
  this.dineIn,
  this.editorialSummary,
  this.iconBackgroundColor,
  this.iconMaskBaseUri,
  this.plusCode,
  this.reservable,
  this.servesBeer,
  this.servesBreakfast,
  this.servesBrunch,
  this.servesDinner,
  this.servesLunch,
  this.servesVegetarianFood,
  this.servesWine,
  this.takeout,
  this.userRatingsTotal,
  this.wheelChairAccessibleEntrance,
});