Creates a JSON message
factory WebSocketMessage.json(Map<String, dynamic> json) { return WebSocketMessage.now( data: json, type: 'json', ); }