value property

T get value

Get the current value;

Implementation

T get value => _isListNotifier ? _listNotifier as T : _valueNotifier!.value;
set value (T v)

Set the current value

Implementation

set value(T v) {
  if (_isListNotifier) {
    var temp = v as QudsListNotifier;
    temp._list.clear();
    temp._list.addAll(temp._list);
    temp._fireWatchers();
  } else
    _valueNotifier?.value = v;
}