TermMatch class abstract

The result of a TermMatcher operation; essentially represents a positive match of a search term against a token.

Constructors

TermMatch.contains(String term, FTSToken matchedToken)
factory
TermMatch.equals(String term, FTSToken matchedToken)
factory
TermMatch.of(String key, String term, FTSToken matchedToken)
factory
TermMatch.startsWith(String term, FTSToken matchedToken)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
Key of the matcher that produced this match. eg 'contains', 'equals'
no setter
matchedToken FTSToken
The token that matched
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
term String
The search term or partial search term that was matched
no setter

Methods

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

Operators

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