value property

  1. @override
V get value
override

The current value stored in this notifier.

When the value is replaced with something that is not equal to the old value as evaluated by the equality operator ==, this class notifies its listeners.

Throws a StateError, when trying to read this value and isEmpty is true.

Implementation

@override
V get value => _notifier.value;
set value (V newValue)

Implementation

set value(V newValue) => _notifier.value = newValue;