clearError method

void clearError (
  1. {bool notify: true}
)

Implementation

void clearError({bool notify = true}) {
  _error = null;
  if(notify) notifyListeners();
}