sendEventToFrontend method

void sendEventToFrontend(
  1. InspectorEvent event
)

Implementation

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