BelongsTo constructor

const BelongsTo(
  1. String foreignKey, {
  2. String localKey = 'id',
})

Implementation

const BelongsTo(this.foreignKey, {this.localKey = 'id'});