MultiChannel<T> constructor
Null safety
- StreamChannel inner
Creates a new MultiChannel that sends and receives messages over
inner
.
The inner channel must take JSON-like objects.
Implementation
factory MultiChannel(StreamChannel<dynamic> inner) => _MultiChannel<T>(inner);