String? get(String key) { if (isNullOrEmpty(key)) return null; return settings.containsKey(key) ? settings[key] : null; }