Prediction constructor

const Prediction({
  1. String? description,
  2. String? id,
  3. List<Term> terms = const <Term>[],
  4. int? distanceMeters,
  5. String? placeId,
  6. String? reference,
  7. List<String> types = const <String>[],
  8. List<MatchedSubstring> matchedSubstrings = const <MatchedSubstring>[],
  9. StructuredFormatting? structuredFormatting,
})

Implementation

const Prediction({
  this.description,
  this.id,
  this.terms = const <Term>[],
  this.distanceMeters,
  this.placeId,
  this.reference,
  this.types = const <String>[],
  this.matchedSubstrings = const <MatchedSubstring>[],
  this.structuredFormatting,
});