Result<T> class

Holds the result (with score and index)

Constructors

Result({T item, List<ResultDetails<T>> matches = const [], double score = 0})
Instantiates it

Properties

hashCode int
The hash code for this object.
read-onlyinherited
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.
read-onlyinherited
score double
Score of this result
read / write

Methods

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

Operators

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