ResultDetails<T> class

Details of a result.

Constructors

ResultDetails({String key = '', int arrayIndex, String value, double score, List<MatchIndex> matchedIndices, double nScore})
Instantiates it

Properties

arrayIndex int
Index of result in the original list
final
hashCode int
The hash code for this object.
read-onlyinherited
key String
Key (WeightedKey.name) used to create this
final
matchedIndices List<MatchIndex>
Indexes of matched patterns on the value
final
nScore double
nScore of this result. It's the weighted score of the match, when it's a weighted search (i.e. uses WeightedKeys).
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
score double
Score of this result
final
value String
Original value
final

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