Suggestion class Null safety
Represents a suggestion object.
Constructors
Properties
- clickId → int?
-
Represents the click position, useful to record click analytics.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isPopularSuggestion ↔ bool
-
Represents that if a suggestion is a type of popular suggestion.
read / write
- isRecentSearch → bool
-
Represents that if a suggestion is a type of recent search.
final
- label → String
-
Suggestion label to display in UI.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- source → Map?
-
The source object from Elasticsearch response.
final
- value → String
-
Suggestion value to perform query.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited