clearErrors method

void clearErrors()

Clears all the errors

Implementation

void clearErrors() {
  _errorStates.clear();
}