MultiChannel<T> constructor Null safety

MultiChannel<T>(
  1. 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);