switchToContext method

void switchToContext(
  1. DebuggingContext context
)

Switch DevTools to a specific context

Implementation

void switchToContext(DebuggingContext context) {
  if (_contextServices.containsKey(context)) {
    // For manual context switch, clear DOM first then switch
    _selectContext(context);
  }
}