PlaceAutocompletePrediction constructor
const
PlaceAutocompletePrediction({
- required String description,
- required List<
PlaceAutocompleteMatchedSubstring> matchedSubstrings, - required PlaceAutocompleteStructuredFormat structuredFormatting,
- required List<
PlaceAutocompleteTerm> terms, - int? distanceMeters,
- String? placeId,
- List<
String> ? types,
Implementation
const PlaceAutocompletePrediction({
required this.description,
required this.matchedSubstrings,
required this.structuredFormatting,
required this.terms,
this.distanceMeters,
this.placeId,
this.types,
});