next method

  1. @override
void next(
  1. T value
)
override

Pass a value to the observer.

Implementation

@override
void next(T value) {
  if (!_hasCompleted) {
    _value = value;
    _hasValue = true;
  }
}