Cookie class

Class that represents a cookie returned by the CookieManager.



domain String?
The cookie domain.
getter/setter pair
expiresDate int?
The cookie expiration date in milliseconds.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isHttpOnly bool?
Indicates if the cookie is a http only cookie.
getter/setter pair
isSecure bool?
Indicates if the cookie is secure or not.
getter/setter pair
isSessionOnly bool?
Indicates if the cookie is a session only cookie.
getter/setter pair
name String
The cookie name.
getter/setter pair
path String?
The cookie path.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sameSite HTTPCookieSameSitePolicy?
The cookie same site policy.
getter/setter pair
value ↔ dynamic
The cookie value.
getter/setter pair


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


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