Cookie class Null safety

Class that represents a cookie returned by the CookieManager.



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


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. [...]