clearErrors method

  1. @override
void clearErrors()
override

Clear all validation errors

Implementation

@override
void clearErrors() {
  if (isValid) {
    return;
  }

  addErrors({});
}