Suggestion class

Represents a single match result

Properties

caseSensitive bool
True if search was case sensitive, false otherwise.
final
entry Entry
Entry referenced by this Suggestion.
final
hashCode int
The hash code for this object.
no setterinherited
prefixEditDistance int
The prefix edit distance leading to this suggestion
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
Recommendation score for this suggestion
final
searchTerms Iterable<String>
The terms that led to this suggestion
final

Methods

mapTermsAndNonTerms<T>(T mapTerm(String term), T mapNonTerm(String nonTerm)) Iterable<T>
Split entry by first occurance of each term in searchTerms. mapTerm and mapNonTerm may return any object including string.
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