addDevToolsProtocolEventListener method

Future<void> addDevToolsProtocolEventListener({
  1. required String eventName,
  2. required dynamic callback(
    1. dynamic data
    ),
})

Subscribe to a DevToolsProtocol event.

Officially Supported Platforms/Implementations:

Implementation

Future<void> addDevToolsProtocolEventListener(
    {required String eventName, required Function(dynamic data) callback}) {
  throw UnimplementedError(
      'addDevToolsProtocolEventListener is not implemented on the current platform');
}