Entry class
Represents a single value to be returned as a suggestion.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subScore → int
-
An integer that allows differentiation between entries of equal weight.
By default starts at zero and increments after each accept but
could also be a timestamp to allow ordering by latest.
no setter
- value → String
-
The original suggestion string supplied by client.
final
Methods
-
accept(
{int? subScore}) → void - Process the event that user has accepted this entry as a suggestion.
-
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 ==(
dynamic other) → bool -
Two Entries are equal if they have the same value.
override