MorphToMany<Related extends KhademModel<Related>, Parent> constructor

MorphToMany<Related extends KhademModel<Related>, Parent>(
  1. QueryBuilderInterface<Related> query,
  2. Parent parent,
  3. Related relatedFactory(),
  4. String table,
  5. String foreignPivotKey,
  6. String relatedPivotKey,
  7. String parentKey,
  8. String relatedKey,
  9. String morphTypeField,
  10. String morphClass, {
  11. bool inverse = false,
})

Implementation

MorphToMany(
  super.query,
  super.parent,
  super.relatedFactory,
  super.table,
  super.foreignPivotKey,
  super.relatedPivotKey,
  super.parentKey,
  super.relatedKey,
  this.morphTypeField,
  this.morphClass, {
  this.inverse = false,
});