Subject<T> constructor
Subject<T> (
- StreamController<
T> controller, - Stream<
T> stream
Constructs a Subject which wraps the provided controller
.
This constructor is applicable only for classes that extend Subject.
Implementation
Subject(StreamController<T> controller, Stream<T> stream)
: _controller = controller,
super(stream);