set method

FutureOr<T> set(
  1. T value
)

Sets this field with value.

Implementation

FutureOr<T> set(T value) {
  _prevValue = _value ?? _slateValue;

  _value = value;
  _hasValueOrSlate = true;
  _valueTime = DateTime.now().millisecondsSinceEpoch;

  return save();
}