shareRelation method

void shareRelation(
  1. ReactiveModel other, {
  2. Symbol? field,
})

Many ↔ Many helper

Implementation

void shareRelation(ReactiveModel other, {Symbol? field}) {
  addNested(other, field: field);
  other.addNested(this, field: field);
}