FuzzyMatcher class abstract final

Provides fuzzy-matching via static, pure methods for subsequence and edit-distance searches.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

match(String query, String text, {bool caseSensitive = false}) FuzzyMatchResult?
Attempts to fuzzy-match query against text.
matchFields(String query, List<String> fields, {bool caseSensitive = false}) FuzzyMatchResult?
Scores a single item against query using multiple fields.

Constants

maxEditDistance → const int
Maximum edit distance for the Levenshtein fallback.