enableDevTools function
void
enableDevTools()
Enables developer tools if in development mode.
Calling this method in release mode has no effect.
Implementation
void enableDevTools() {
if (isDevMode) {
_isDevToolsEnabled = true;
_getComponentElement = allowInterop(
Inspector.instance.getComponentElement,
);
_getComponentIdForNode = allowInterop(
Inspector.instance.getComponentIdForNode,
);
}
}