Index class

Specifies that the property should be indexed.

It is highly recommended to index properties that are used in a Query to improve query performance. To fine tune indexing of a property you can override the default index type.

Note: indexes are currently not supported for ByteVector, Float or Double properties.

Constructors

Index({IndexType? type})
Create an Index annotation.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type IndexType?
Index type.
final

Methods

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

Operators

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