SchemaIndex class

A definition for the schema of an index

Constructors

SchemaIndex({required List<String> columns, String? tableName, required bool unique})
A definition for the schema of an index

Properties

columns → List<String>
final
forGenerator → String
Generated Dart code to include in a schema.
no setter
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tableName ↔ String?
getter/setter pair
unique → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCommand() → MigrationCommand
Generated Dart code to include in a migrations file.
toString() → String
A string representation of this object.
inherited

Operators

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