Result<T> class
Holds the result (with score and index)
Constructors
-
Result({required T item, List<
ResultDetails< matches = const [], double score = 0})T> > - Instantiates it
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- item → T
-
Item in the original list
final
-
matches
→ List<
ResultDetails< T> > -
Details of this result
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score ↔ double
-
Score of this result
getter/setter pair
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