clearValidators method
void
clearValidators({})
Empties out the sync validator list.
Implementation
void clearValidators({
bool autoValidate = false,
bool updateParent = true,
bool emitEvent = true,
}) {
_validators.clear();
if (autoValidate) {
updateValueAndValidity(updateParent: updateParent, emitEvent: emitEvent);
}
}