Fuzzy<T extends Object> class

Fuzzy search in Dart.

Import this library as follows:

import 'package:fuzzy/fuzzy.dart';

Constructors

Fuzzy(List<String> source, {List<List<String>>? tokens, FuzzyOptions? options})
Instantiates it given a list of strings to look into, and options
Fuzzy.withIdentifiers(Map<String, T> source, {List<List<String>>? tokens, FuzzyOptions? options})
Creates a new Fuzzy index with identifiers.

Properties

hashCode int
The hash code for this object.
no setterinherited
options FuzzyOptions
Fuzz search Options
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source List<String>
The original list of string
final
tokens List<List<String>>?
An optional list of predefined tokens for each element in source.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Search for a given pattern on the list, optionally limiting the result length
toString() String
A string representation of this object.
inherited

Operators

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