clearError method

void clearError()

Hides the error banner.

Implementation

void clearError() {
  _error = null;
  notifyListeners();
}