dispose method

  1. @override
void dispose()
override

Disposes the DevTools service and releases all resources.

Cleans up the UI inspector, removes context mappings, and terminates the inspector isolate server.

Implementation

@override
void dispose() {
  // Unregister from unified service
  if (_context != null) {
    unifiedService._unregisterContext(_context!);
  }

  // Call parent dispose
  super.dispose();
}