refreshPage method

Future<PaginationState<ReturnType>> refreshPage()

Refreshes the current page.

Implementation

Future<PaginationState<ReturnType>> refreshPage() async {
  final internalState = await _waitForInternalState();
  _internalStateObserver.next(null);
  _doNewQuery(internalState.extractedData.first, reverseOrder: false);
  return waitForData();
}