set method
Sets this field with value
.
Implementation
FutureOr<T> set(T value) {
_prevValue = _value ?? _slateValue;
_value = value;
_hasValueOrSlate = true;
_valueTime = DateTime.now().millisecondsSinceEpoch;
return save();
}
Sets this field with value
.
FutureOr<T> set(T value) {
_prevValue = _value ?? _slateValue;
_value = value;
_hasValueOrSlate = true;
_valueTime = DateTime.now().millisecondsSinceEpoch;
return save();
}