StreamGroup<T>.broadcast constructor

StreamGroup<T>.broadcast()

Creates a new stream group where stream is a broadcast stream.

Implementation

StreamGroup.broadcast() {
  _controller = StreamController<T>.broadcast(
      onListen: _onListen, onCancel: _onCancelBroadcast, sync: true);
}