enable static method
Enables DevTools inspection and registers the specified box.
If box is provided, it is added to the list of inspected containers.
If no container is provided, service extensions are registered and await
future container registrations via register.
Implementation
static void enable([DependencyBox? box]) {
_ensureServiceExtensionsRegistered();
if (box != null) {
register(box);
}
}