PlaceDetails constructor

const 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,
})

Implementation

const 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,
});