controllerFor static method

EntityGraphDevtoolsController? controllerFor(
  1. EntityGraph graph
)

Return the active controller without changing its lifetime.

Implementation

static EntityGraphDevtoolsController? controllerFor(EntityGraph graph) {
  final controller = _slots[graph]?.entry?.controller;
  return controller == null || controller.isDisposed ? null : controller;
}