CookieIssueDetails class

This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.

Constructors

CookieIssueDetails({AffectedCookie? cookie, String? rawCookieLine, required List<CookieWarningReason> cookieWarningReasons, required List<CookieExclusionReason> cookieExclusionReasons, required CookieOperation operation, String? siteForCookies, String? cookieUrl, AffectedRequest? request})
CookieIssueDetails.fromJson(Map<String, dynamic> json)
factory

Properties

If AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string. This hints at a problem where the cookie line is syntactically or semantically malformed in a way that no valid cookie could be created.
final
cookieExclusionReasons List<CookieExclusionReason>
final
cookieUrl String?
final
cookieWarningReasons List<CookieWarningReason>
final
hashCode int
The hash code for this object.
no setterinherited
operation CookieOperation
Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.
final
rawCookieLine String?
final
request AffectedRequest?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siteForCookies String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited