PublishConnectableStream<T> constructor
Constructs a Stream which only begins emitting events when the connect method is called, this Stream acts like a PublishSubject.
Implementation
PublishConnectableStream(Stream<T> source, {bool sync = false})
: super(source, PublishSubject<T>(sync: sync));