QueryType enum

Determines if and how query words are interpreted as prefixes. By default, only the last query word is treated as prefix (prefixLast). To turn off prefix search, use prefixNone. Avoid prefixAll, which treats all query words as prefixes. This might lead to counterintuitive results and makes your search slower. For more information, see Prefix searching.

Inheritance
Annotations
  • @JsonEnum(valueField: 'raw')

Constructors

QueryType(dynamic raw)
const

Values

prefixLast → const QueryType
const QueryType(r'prefixLast')
prefixAll → const QueryType
const QueryType(r'prefixAll')
prefixNone → const QueryType
const QueryType(r'prefixNone')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
raw → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(dynamic json) QueryType

Constants

values → const List<QueryType>
A constant List of the values in this enum, in order of their declaration.