clearError method
void
clearError()
Clear the error on this manager Only work when ViewState isn't error Best use case with Pagination when there is an error and you want to clear the error to show loading again
Implementation
void clearError() {
if (_disposed) return;
if (value.viewState != ViewState.error) {
value = value.clearError();
}
}