PlaceAutocompletePrediction constructor

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

Implementation

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