static Future<void> deleteObjects(String key) async { LazyBox lazyBox = Hive.lazyBox(cacheName); if (lazyBox.isOpen) { await lazyBox.delete(key); } }