clearAllCache method
Clear all cached data.
Implementation
Future<void> clearAllCache() async {
await _ensureInitialized();
try {
await _movieBox!.clear();
await _timestampBox!.clear();
} catch (e) {
debugPrint('Error clearing all cache: $e');
rethrow;
}
}