IndexType class final

IndexType is used for custom indexing. It describes the type of an indexed field.

Constructors

IndexType(String value)
const
IndexType.fromJson(Object? json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isNotDefault → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
finalinherited

Methods

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

Operators

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

Constants

$default → const IndexType
The default value for IndexType.
indexTypeInteger → const IndexType
The index is a integer-type index.
indexTypeString → const IndexType
The index is a string-type index.
indexTypeUnspecified → const IndexType
The index's type is unspecified.