Relationship constructor

const Relationship(
  1. int type, {
  2. String? localKey,
  3. String? foreignKey,
  4. String? foreignTable,
  5. bool cascadeOnDelete = false,
  6. JoinType? joinType,
})

Implementation

const Relationship(this.type,
    {this.localKey,
    this.foreignKey,
    this.foreignTable,
    this.cascadeOnDelete = false,
    this.joinType});