sendRawJSONToFrontend method

void sendRawJSONToFrontend(
  1. String message
)

Implementation

void sendRawJSONToFrontend(String message) {
  assert(_ws != null, 'WebSocket should connect.');
  _ws!.add(message);
}