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

MorphedByMany<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,
)

Implementation

MorphedByMany(
  super.query,
  super.parent,
  super.relatedFactory,
  super.table,
  super.foreignPivotKey,
  super.relatedPivotKey,
  super.parentKey,
  super.relatedKey,
  super.morphTypeField,
  super.morphClass,
) : super(
        inverse: true,
      );