setHandler method
Register a TypeChannelHandler for channel with name in messenger.
Implementation
void setHandler(TypeChannelHandler<T> handler) {
messenger.registerHandler(name, handler);
}
Register a TypeChannelHandler for channel with name in messenger.
void setHandler(TypeChannelHandler<T> handler) {
messenger.registerHandler(name, handler);
}