PlacesSearchResult constructor
const
PlacesSearchResult({
- String? id,
- required String reference,
- required String name,
- required String placeId,
- String? formattedAddress,
- List<
Photo> photos = const [], - List<
AlternativeId> altIds = const [], - List<
String> types = const [], - bool permanentlyClosed = false,
- String? icon,
- Geometry? geometry,
- OpeningHoursDetail? openingHours,
- String? scope,
- PriceLevel? priceLevel,
- num? rating,
- 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,
});