sendJson method

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

Sends a JSON message

Implementation

Future<void> sendJson(Map<String, dynamic> json) async {
  await sendMessage(WebSocketMessage.json(json));
}