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