IncludedSuggestionRelevanceTag class
Each AvailableSuggestion
can specify zero or more tags in the field
relevanceTags
, so that when the included tag is equal to one of the
relevanceTags
, the suggestion is given higher relevance than the whole
IncludedSuggestionSet
.
Constructors
- IncludedSuggestionRelevanceTag(String tag, int relevanceBoost)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- relevanceBoost → int
-
The boost to the relevance of the completion suggestions that match this
tag, which is added to the relevance of the containing
IncludedSuggestionSet
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
The opaque value of the tag.
final
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