stream<TState> method
Instantiates an auto-disposing StreamController.
Disposal is taken care of in the dispose method.
Implementation
StreamController<TState> stream<TState>() {
final subject = StreamController<TState>();
_streamControllers.add(subject);
return subject;
}