checkValue property

CheckValueFunc<T?>? checkValue
final

An optional callback that will be called before changing the value or saving a new value to the storage.

If the value is invalid, the callback can throw an exception.

Implementation

final CheckValueFunc<T?>? checkValue;