clearAllCache static method
Clears the whole cache
Implementation
static Future<void> clearAllCache() async {
await init();
final keys = _prefs!.getKeys();
for (final key in keys) {
if (key.startsWith(_cachePrefix) || key.startsWith(_metadataPrefix)) {
await _prefs!.remove(key);
}
}
}