updateAsyncValidators method
void
updateAsyncValidators(
- List<
AsyncValidator< asyncValidators, {Value> > - bool forceValidation = false,
Updates the current asyncValidators
with asyncValidators
.
Implementation
void updateAsyncValidators(
List<AsyncValidator<Value>> asyncValidators, {
bool forceValidation = false,
}) {
_asyncValidators = asyncValidators;
_maybeValidate(forceValidation);
}