ForeignKeyDefinition class

Represents a foreign key definition.

Constructors

ForeignKeyDefinition({required String columnName, required String toTable, required String toColumn, String? onUpdate, String? onDelete})
Creates a new ForeignKeyDefinition.

Properties

columnName String
The column that is the foreign key.
final
hashCode int
The hash code for this object.
no setterinherited
onDelete String?
The action to take on delete.
final
onUpdate String?
The action to take on update.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toColumn String
The column that is referenced.
final
toTable String
The table that is referenced.
final

Methods

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

Operators

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