notify method

void notify()
override

Notifies current Stream.

Implementation

void notify() {
  if (!_stream.isClosed) {
    _stream.add(_value);
  }
}