addChannelHandler static method
- String identifier,
- BaseChannelHandler handler
Adds a channel handler. All added handlers will be notified when events occur.
Implementation
static void addChannelHandler(String identifier, BaseChannelHandler handler) {
sbLog.i(StackTrace.current, 'identifier: $identifier');
_instance._chat.addChannelHandler(identifier, handler);
}