removeStale method
Remove stale cache.
Implementation
@visibleForTesting
Future<void> removeStale() async {
final staleDateTime =
(await _getCurrDateTime()).subtract(config.stalePeriod!);
final removedData = await dataStore.removeStale(staleDateTime);
if (config.useMemCache) _removeMemCache(removedData);
}