refreshAll method

Future<List<DataType>?> refreshAll()

Refresh all the pages that has been fetched

Implementation

Future<List<DataType>?> refreshAll() async {
  if (_mutex.isLocked) return pages;
  return await Future.wait(
    state.pages.map((e) => _operate(e.page)),
  ).then((_) => pages);
}