MatchResult<Value> class

The output search result.

Constructors

MatchResult(double score, {required String text, required Value? value})
Constructor.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
The score of the match result represent how goo the match is.
final
text String
The text that is being searched on.
final
value → Value?
The optional associated value of text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
For print formatting.
override

Operators

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