bool? flagOr<T>(String key, bool? def) { if (_flags.contains(key)) return true; var keyLC = normalizeKey(key); var found = _flags.contains(keyLC); if (found) return true; return def; }