DynamicSearchParams class

Serializable search parameters for isolate processing.

This class contains all parameters needed for search and can be serialized to pass to isolates for background processing.

All fields are required and must be serializable (no functions or closures).

Constructors

DynamicSearchParams({required List<Map<String, dynamic>> items, required String query, required Map<String, List<String>> searchFieldsMap, required Map<String, double> fieldWeights, double minScore = 0.3, int limit = 10, bool useDamerauLevenshtein = true, bool useNGram = true})

Properties

fieldWeights Map<String, double>
final
hashCode int
The hash code for this object.
no setterinherited
items List<Map<String, dynamic>>
final
limit int
final
minScore double
final
query String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchFieldsMap Map<String, List<String>>
final
useDamerauLevenshtein bool
final
useNGram bool
final

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