ForeignKey class

Constructors

ForeignKey({required String baseColumn, required String referenceTable, required String referenceColumn, ForeignKeyAction? updateAction = ForeignKeyAction.restrict, ForeignKeyAction? deleteAction = ForeignKeyAction.restrict, String? baseTable})

Properties

baseColumn ↔ String
getter/setter pair
baseTable ↔ String?
getter/setter pair
deleteAction ↔ ForeignKeyAction?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
referenceColumn ↔ String
getter/setter pair
referenceTable ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updateAction ↔ ForeignKeyAction?
getter/setter pair

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

Static Methods

getAction(ForeignKeyAction action, String type) → String
parseAction(dynamic string) → dynamic