LiteralOptions class
Options for literal field. Present if IndexFieldType
specifies
the field is of type literal
. All options are enabled by
default.
Constructors
- LiteralOptions({String? defaultValue, bool? facetEnabled, bool? returnEnabled, bool? searchEnabled, bool? sortEnabled, String? sourceField})
- LiteralOptions.fromXml(XmlElement elem)
-
factory
Properties
- defaultValue → String?
-
A value to use for the field if the field isn't specified for a document.
final
- facetEnabled → bool?
-
Whether facet information can be returned for the field.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- returnEnabled → bool?
-
Whether the contents of the field can be returned in the search results.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchEnabled → bool?
-
Whether the contents of the field are searchable.
final
- sortEnabled → bool?
-
Whether the field can be used to sort the search results.
final
- sourceField → String?
-
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