setRefreshController method

void setRefreshController(
  1. RefreshController? refreshController
)

Implementation

void setRefreshController(RefreshController? refreshController) {
  if (refreshController != null &&
      !_refreshControllers.contains(refreshController)) {
    _refreshControllers.add(refreshController);
  }
}