AmChannel<T>.of constructor
AmChannel<T>.of (
- dynamic route
Implementation
factory AmChannel.of(route) {
if (_stmem[route] != null) {
return _stmem[route];
} else {
final me = AmChannel<T>._internal(route);
_stmem[route] = me;
return me;
}
}