FuzzySearchUtils class

One candidate from fuzzy search with score and matched text.

Constructors

FuzzySearchUtils(int index, String text, double score)
Creates a match at index in the original candidate list, holding the matched text and its computed relevance score.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
Position of this match within the original candidates list.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
Relevance score in [0, 1]; higher means a closer match to the query.
no setter
text String
The candidate string that matched the query.
no setter

Methods

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

Operators

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