bool? getBool(String section, String key) { final value = _values['$section.$key']; return value is bool ? value : null; }