ReplayConnectableStream<T> constructor
Constructs a Stream which only begins emitting events when the connect method is called, this Stream acts like a ReplaySubject.
Implementation
ReplayConnectableStream(Stream<T> stream, {int? maxSize, bool sync = false})
: super(
stream,
ReplaySubject<T>(maxSize: maxSize, sync: sync),
);