registerHandler method
Sets a TypeChannelHandler for a type channel with channelName
.
Implementation
void registerHandler(String channelName, TypeChannelHandler handler) {
_channelHandlers[channelName] = handler;
}
Sets a TypeChannelHandler for a type channel with channelName
.
void registerHandler(String channelName, TypeChannelHandler handler) {
_channelHandlers[channelName] = handler;
}