sendEventToFrontend method
Implementation
void sendEventToFrontend(InspectorEvent event) {
assert(_ws != null, 'WebSocket should connect.');
_ws!.add(jsonEncode(event));
}
void sendEventToFrontend(InspectorEvent event) {
assert(_ws != null, 'WebSocket should connect.');
_ws!.add(jsonEncode(event));
}