setRefreshError method

void setRefreshError(
  1. E? e
)

Implementation

void setRefreshError(E? e) {
  refreshError = e;
  refreshState = ViewRefreshStateType.refreshError;
  refresh();
  onRefreshError();
}