addToActiveReactiveModels function

VoidCallback addToActiveReactiveModels(
  1. ReactiveModelImp inj
)

Implementation

VoidCallback addToActiveReactiveModels(ReactiveModelImp<dynamic> inj) {
  injectedModels.add(inj);

  return () {
    injectedModels.remove(inj);
  };
}