StreamGroup<T>.broadcast constructor Null safety

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);
}