core.Map<core.String, core.dynamic> toJson() => { if (cookieNames != null) 'cookieNames': cookieNames!, if (maxCookieCount != null) 'maxCookieCount': maxCookieCount!, };