validate<T> method
Validates whether value
is allowed to be stored for itemKey
.
Disallowed values will not be passed to save.
Use this method only for synchronous validation, as asynchronous validation should be done in save.
See load for itemKey
.
Implementation
@override
OperationResult validate<T>(K itemKey, T? value) => OperationResult.success();