forgeDevtoolsFor function

Devtools? forgeDevtoolsFor(
  1. QueryCache cache
)

The devtools attached to cache, or null when none is (always null in a release build). Use it to reach the simulator configureClient installed, for example to feed withSimulatedConnectivity.

Implementation

dt.Devtools? forgeDevtoolsFor(QueryCache cache) {
  if (!kForgeDevtools) return null;
  return ForgeDevtoolsHost.instance.find(cache);
}