CustomCallback<T> typedef

CustomCallback<T> = FutureOr<bool> Function(T? value, FailFn fail)

CustomCallback for relatively simple in-line custom user-defined rule.

Implementation

typedef CustomCallback<T> = FutureOr<bool> Function(T? value, FailFn fail);