Result<T extends Object> class

Holds the result (with score and index)

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier → T?
The identifier of item.
final
item String
Item in the original list
final
matches List<ResultDetails>
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