invalidate method

Future<void> invalidate()

Invalidates the cached value and force a resource reload.

Implementation

Future<void> invalidate() async {
  // don't clear cache for offline usage
  //await _clearCache();
  await _resetStoreTime();
  await load(forceReload: true).where((event) => event.isNotLoading).first;
}