ValidatorFunction<T extends Result> typedef

ValidatorFunction<T extends Result> = FutureOr<T> Function(dynamic value)

Type representing a validator function (may be sync or async).

Implementation

typedef ValidatorFunction<T extends Result> = FutureOr<T> Function(dynamic value);