AsyncValidationFailureHandler typedef

AsyncValidationFailureHandler = void Function(AsyncInvocationFailureContext<String?> context)

Callback of exceptional completion of AsyncValidatorExecutor.validate. You can change the exception or error via AsyncInvocationFailureContext.overrideError.

Implementation

typedef AsyncValidationFailureHandler = void Function(
  AsyncInvocationFailureContext<String?> context,
);