SmartContextAsyncValidator<T> typedef

SmartContextAsyncValidator<T> = Future<String?> Function(T? value, SmartValidationContext context)

An asynchronous validator that can read form values through context.

Implementation

typedef SmartContextAsyncValidator<T> =
    Future<String?> Function(T? value, SmartValidationContext context);