Cookies class abstract interface

Spry cookies.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String name, {DateTime? expires, int? maxAge, String? domain, String? path, bool? secure, bool? httpOnly, SameSite? sameSite, bool? partitioned}) → void
Deletes a cookie.
get(String name) String?
Gets a Request/Response cookie value.
getAll() Iterable<(String, String)>
Gets all Request/Response cookies.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(String name, String value, {DateTime? expires, int? maxAge, String? domain, String? path, bool? secure, bool? httpOnly, SameSite? sameSite, bool? partitioned, bool signed}) String
Serialize a cookie.
set(String name, String value, {DateTime? expires, int? maxAge, String? domain, String? path, bool? secure, bool? httpOnly, SameSite? sameSite, bool? partitioned}) → void
Sets a new cookie.
toString() String
A string representation of this object.
inherited

Operators

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