BelongsTo constructor

const BelongsTo({
  1. String? localKey,
  2. String? foreignKey,
  3. String? foreignTable,
  4. JoinType? joinType,
})

Implementation

const BelongsTo(
    {String? localKey,
    String? foreignKey,
    String? foreignTable,
    JoinType? joinType})
    : super(RelationshipType.belongsTo,
          localKey: localKey,
          foreignKey: foreignKey,
          foreignTable: foreignTable,
          joinType: joinType);