sendJson method

Future<bool> sendJson(
  1. Map<String, dynamic> json
)

Sends a JSON message.

Implementation

Future<bool> sendJson(Map<String, dynamic> json) async {
  return send(WebSocketMessage.json(json));
}