clearCache static method
Optional: Clear cache
Implementation
static Future<void> clearCache() async {
final file = await _getCacheFile();
if (await file.exists()) {
await file.delete();
if (kDebugMode) {
print("🧹 Cleared message cache");
}
}
}