Future<void> setBool(String key, bool value) async { await _ensureInitialized(); final box = _getBoxForKey(key); await box.put(key, value); }