updateAsyncValidators method

void updateAsyncValidators(
  1. List<AsyncValidator<Value>> asyncValidators, {
  2. bool forceValidation = false,
})

Updates the current asyncValidators with asyncValidators.

Implementation

void updateAsyncValidators(
  List<AsyncValidator<Value>> asyncValidators, {
  bool forceValidation = false,
}) {
  _asyncValidators = asyncValidators;

  _maybeValidate(forceValidation);
}