FuzzySearchUtils class
One candidate from fuzzy search with score and matched text.
Constructors
- FuzzySearchUtils(int index, String text, double score)
-
Creates a match at
indexin the original candidate list, holding the matchedtextand its computed relevancescore.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
Position of this match within the original
candidateslist.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