String? GetCookie(String key) { if (key.isEmpty) return null; return _readCookies()[Uri.encodeComponent(key)]; }