Prediction constructor

Prediction({
  1. required String? description,
  2. required List<MatchedSubstring> matchedSubstrings,
  3. required String? placeId,
  4. required String? reference,
  5. required StructuredFormatting? structuredFormatting,
  6. required List<Term> terms,
  7. required List<String> types,
})

Implementation

Prediction({
  required this.description,
  required this.matchedSubstrings,
  required this.placeId,
  required this.reference,
  required this.structuredFormatting,
  required this.terms,
  required this.types,
});