refresh method

dynamic refresh()

Implementation

refresh() {
  if (isRefreshing) {
    if (_refreshSemaphore == 0) {
      _refreshSemaphore++;
    }
  } else {
    refreshKey.currentState?.refresh();
  }
}