Cookie class

Browser cookie.

Constructors

Cookie(String? name, String? value, {String? path, String? domain, bool? secure, DateTime? expiry})
Cookie.fromJson(Map<String, dynamic> json)
factory

Properties

domain → String?
(Optional) The domain the cookie is visible to.
final
expiry → DateTime?
(Optional) When the cookie expires.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String?
The name of the cookie.
final
path → String?
(Optional) The cookie path.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secure → bool?
(Optional) Whether the cookie is a secure cookie.
final
value → String?
The cookie value.
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.
override

Operators

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