String? get(String key) { final value = _map.remove(key); if (value == null) return null; _map[key] = value; return value; }