value property

T? get value
override

The currently-set value.

Implementation

T? get value => _value;
set value (T? value)

Sets the value and publishes an event to the stream.

Implementation

set value(T? value) {
  if (_equalsFn(_value, value)) return;
  var previous = _value;
  _value = value;
  notifyChange(previous, value);
}