LiteralOptions class

Options that define a literal field in the search index.

Constructors

LiteralOptions({String? defaultValue, bool? facetEnabled, bool? resultEnabled, bool? searchEnabled})
LiteralOptions.fromXml(XmlElement elem)
factory

Properties

defaultValue String?
The default value for a literal field. Optional.
final
facetEnabled bool?
Specifies whether facets are enabled for this field. Default: False.
final
hashCode int
The hash code for this object.
no setterinherited
resultEnabled bool?
Specifies whether values of this field can be returned in search results and used for ranking. Default: False.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchEnabled bool?
Specifies whether search is enabled for this field. Default: False.
final

Methods

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

Operators

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