Cookie class Null safety

Class that represents a cookie returned by the CookieManager.

Constructors

Properties

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-onlyinherited
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-onlyinherited
sameSite HTTPCookieSameSitePolicy?
The cookie same site policy.
read / write
value ↔ dynamic
The cookie value.
read / write

Methods

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

Operators

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