ForeignKey class final Schema definition Foreign keys

Annotation for declaring a composite foreign key.

Constructors

ForeignKey.new(List<String> foreignKey, {required String table, required List<String> fields, String? name, String? as})
const

Properties

as String?
final
fields List<String>
final
foreignKey List<String>
final
hashCode int
The hash code for this object.
no setterinherited
name String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table String
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