@override Future<int> clearBox(String boxName) async { try { final box = await openBox(boxName); return await box.clear(); } catch (e) { throw DatabaseBridgeException(error: e); } }