clearAll static method
Clear all metadata.
Implementation
static Future<void> clearAll() async {
_cache.clear();
final path = await _getMetadataPath();
final file = File(path);
if (file.existsSync()) {
await file.delete();
}
}
Clear all metadata.
static Future<void> clearAll() async {
_cache.clear();
final path = await _getMetadataPath();
final file = File(path);
if (file.existsSync()) {
await file.delete();
}
}