ForeignKey constructor

ForeignKey(
  1. PrimaryKey foreignPrimaryKey,
  2. String layoutName,
  3. String name, {
  4. bool nullable = false,
})

Implementation

ForeignKey(this.foreignPrimaryKey, String layoutName, String name,
    {bool nullable = false})
    : super(foreignPrimaryKey.type, layoutName, name,
          nullable: nullable, length: foreignPrimaryKey.length);