endRefresh method

dynamic endRefresh()

Implementation

endRefresh() {
  if (_refreshSemaphore > 0) {
    refreshKey.currentState?.callRefresh();
    _refreshSemaphore--;
  } else {
    refreshKey.currentState?.endRefresh();
  }
}