clearCache static method
Clear the update cache
Implementation
static Future<void> clearCache() async {
try {
final cacheFile = File(_getCacheFilePath());
if (cacheFile.existsSync()) {
await cacheFile.delete();
}
} catch (e) {
// Silently fail
}
}