addChannelHandler method Null safety
- String identifier,
- ChannelEventHandler handler
Implementation
void addChannelHandler(String identifier, ChannelEventHandler handler) {
_channelHandlers[identifier] = handler;
}
void addChannelHandler(String identifier, ChannelEventHandler handler) {
_channelHandlers[identifier] = handler;
}