RemoveWordsIfNoResults enum

Strategy to remove words from the query when it doesn't match any hits.

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

Constructors

RemoveWordsIfNoResults(dynamic raw)
const

Values

none → const RemoveWordsIfNoResults
const RemoveWordsIfNoResults(r'none')
lastWords → const RemoveWordsIfNoResults
const RemoveWordsIfNoResults(r'lastWords')
firstWords → const RemoveWordsIfNoResults
const RemoveWordsIfNoResults(r'firstWords')
allOptional → const RemoveWordsIfNoResults
const RemoveWordsIfNoResults(r'allOptional')

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) RemoveWordsIfNoResults

Constants

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