streamNotifyRoom method
Implementation
void streamNotifyRoom(
WebSocketChannel webSocketChannel, User user, Room room) {
Map msg = {
"msg": "method",
"method": "stream-notify-room",
"id": "42",
"params": ["${room.id}/typing", user.name, true]
};
logInfo('🚀🚀 streamNotifyRoom ${msg}');
webSocketChannel.sink.add(jsonEncode(msg));
}