checkValue property
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;
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.
final CheckValueFunc<T?>? checkValue;