SuggestOptions class final

Struct to fine-tune suggest request.

Constructors

SuggestOptions({SuggestType suggestTypes = SuggestType.Unspecified, Point? userPosition, bool suggestWords = false, bool strictBounds = false})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strictBounds bool
Strictly limit the output and keep only objects that fall within the window. The window is advisory in nature and doesn't impose strict restrictions on search results, helping to select the most relevant hints.
final
suggestTypes SuggestType
The suggest type can be one of SuggestType values or their bitwise 'OR' combination. If suggestType is not initialized, it means to use server-defined types.
final
suggestWords bool
Enable word-by-word suggestion items.
final
userPosition Point?
The server uses the user position to calculate the distance from the user to suggest results.
final

Methods

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 ==(covariant SuggestOptions other) bool
The equality operator.
override