clearErrors method

void clearErrors()

Clear all errors.

Implementation

void clearErrors() {
  _errors.clear();
  notifyListeners();
}