updateStream method
void
updateStream()
Updates the stream with the current state, which triggers the stream to indicate an evaluation should be performed.
Implementation
void updateStream() {
_streamController.add(_state);
}