BlockedSetCookieWithReason class

A cookie which was not stored from a response with the corresponding reason.

Constructors

BlockedSetCookieWithReason({required List<SetCookieBlockedReason> blockedReasons, required String cookieLine, Cookie? cookie})
BlockedSetCookieWithReason.fromJson(Map<String, dynamic> json)
factory

Properties

blockedReasons List<SetCookieBlockedReason>
The reason(s) this cookie was blocked.
final
The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.
final
cookieLine String
The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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