DelegateAsyncValidator constructor

const DelegateAsyncValidator(
  1. AsyncValidatorFunction asyncValidator
)

Creates an instance of the DelegateAsyncValidator class.

The DelegateAsyncValidator validator delegates the validation to the external asynchronous validator function.

Implementation

const DelegateAsyncValidator(AsyncValidatorFunction asyncValidator)
    : _asyncValidator = asyncValidator,
      super();