SynonymHit class final

Annotations
  • @JsonSerializable()

Constructors

SynonymHit({required String objectID, required SynonymType type, List<String>? synonyms, String? input, String? word, List<String>? corrections, String? placeholder, List<String>? replacements})
Returns a new SynonymHit instance.
const
SynonymHit.fromJson(Map<String, dynamic> json)
factory

Properties

corrections List<String>?
Words to be matched in records.
final
hashCode int
The hash code for this object.
no setteroverride
input String?
Word or phrase to appear in query strings (for onewaysynonyms).
final
objectID String
Unique identifier of a synonym object.
final
placeholder String?
Placeholder token to be put inside records.
final
replacements List<String>?
Query words that will match the placeholder token.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
synonyms List<String>?
Words or phrases considered equivalent.
final
type SynonymType
final
word String?
Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override