PlaceAutocompletePrediction constructor

const PlaceAutocompletePrediction({
  1. required String description,
  2. required List<PlaceAutocompleteMatchedSubstring> matchedSubstrings,
  3. required PlaceAutocompleteStructuredFormat structuredFormatting,
  4. required List<PlaceAutocompleteTerm> terms,
  5. String? placeId,
  6. int? distanceMeters,
  7. List<String>? types,
})

Implementation

const PlaceAutocompletePrediction({
  required this.description,
  required this.matchedSubstrings,
  required this.structuredFormatting,
  required this.terms,
  this.placeId,
  this.distanceMeters,
  this.types,
});