sendPong method
void
sendPong(
- WebSocketChannel webSocketChannel
Implementation
void sendPong(WebSocketChannel webSocketChannel) {
Map msg = {"msg": "pong"};
logInfo('🚀🚀 sendPong $msg');
webSocketChannel.sink.add(jsonEncode(msg));
}