channel method
Returns (or creates) a WebSocketTopic for topic.
All messages whose JSON envelope has "topic": "<topic>" are routed here.
Implementation
WebSocketTopic channel(String topic) => _channelManager.channel(topic);
Returns (or creates) a WebSocketTopic for topic.
All messages whose JSON envelope has "topic": "<topic>" are routed here.
WebSocketTopic channel(String topic) => _channelManager.channel(topic);