value property

T value

The current value held.

Implementation

T get value {
  assert(!isDisposed);
  return _value;
}
void value=(T newValue)

Sets a new value and notifies listeners if the value is different than the old value.

Implementation

set value(T newValue) {
  if (_isUnmodifiableView)
    throw ('Tried to modify an unmodifiable value emitter view');
  _setValueWithoutUnmodifiableCheck(newValue);
}