clearCache static method
Clears the cache by deleting the entire cache directory.
Implementation
static Future<void> clearCache() async {
final directory = await getSaveFolder();
if (await directory.exists()) {
await directory.delete(recursive: true);
}
}