Prediction constructor

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

Creates a Prediction instance.

All parameters default to empty values if not provided.

Implementation

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