setListFetchingMore method

void setListFetchingMore(
  1. String queryKey, {
  2. required bool fetchingMore,
})

Implementation

void setListFetchingMore(String queryKey, {required bool fetchingMore}) {
  _write(() {
    _lists[queryKey] = (_lists[queryKey] ?? ListState.empty).copyWith(
      isFetchingMore: fetchingMore,
    );
    _notifyList(queryKey);
  });
}