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. Audited: 2026-06-12 11:26 EDT
const

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
Position of this match within the original candidates list. Audited: 2026-06-12 11:26 EDT
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. Audited: 2026-06-12 11:26 EDT
no setter
text String
The candidate string that matched the query. Audited: 2026-06-12 11:26 EDT
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