Future<bool?> getBool(String key) async { await _ensureInitialized(); final box = _getBoxForKey(key); return box.get(key); }