SynonymHit constructor

const SynonymHit({
  1. required String objectID,
  2. required SynonymType type,
  3. List<String>? synonyms,
  4. String? input,
  5. String? word,
  6. List<String>? corrections,
  7. String? placeholder,
  8. List<String>? replacements,
})

Returns a new SynonymHit instance.

Implementation

const SynonymHit({
  required this.objectID,
  required this.type,
  this.synonyms,
  this.input,
  this.word,
  this.corrections,
  this.placeholder,
  this.replacements,
});