addDevToolsProtocolEventListener method
Future<void>
addDevToolsProtocolEventListener({
- required String eventName,
- required dynamic callback(
- dynamic data
Subscribe to a DevToolsProtocol
event.
Officially Supported Platforms/Implementations:
Implementation
Future<void> addDevToolsProtocolEventListener(
{required String eventName,
required Function(dynamic data) callback}) =>
platform.addDevToolsProtocolEventListener(
eventName: eventName, callback: callback);