getDevToolOfContextId static method

DevToolsService? getDevToolOfContextId(
  1. int contextId
)

Retrieves the DevTools service instance associated with a specific JavaScript context ID.

@param contextId The unique identifier for a JavaScript context @return The DevToolsService instance for the context, or null if none exists

Implementation

static DevToolsService? getDevToolOfContextId(int contextId) {
  return _contextDevToolMap[contextId];
}