SerializableModelIndexDefinition class

The definition of an index for a file, that is also stored in the database.

Constructors

SerializableModelIndexDefinition({required String name, required String type, required bool unique, required List<String> fields})
Create a new SerializableModelIndexDefinition.

Properties

fields List<String>
The fields this index includes. The order of the fields matters.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the index.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of this index. Usually this is btree.
final
unique bool
Whether the fields of this index should be unique.
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