Fuzzy<T> class
Fuzzy search in Dart.
Import this library as follows:
import 'package:fuzzy/fuzzy.dart';
Constructors
-
Fuzzy(List<
T> ? list, {FuzzyOptions<T> ? options}) - Instantiates it given a list of strings to look into, and options
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
list
→ List<
T> -
The original list of string
final
-
options
→ FuzzyOptions<
T> -
Fuzz search Options
final
- 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
-
search(
String pattern, [int limit = -1]) → List< Result< T> > -
Search for a given
pattern
on the list, optionallylimit
ing the result length -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited