Cookie class
Object representation of a cookie.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
output(
{String header = "Set-Cookie"}) → String - Constructs a request header.
-
remove(
String key) → String -
Removes
key
and its associated value, if present, from the attributes. -
toString(
) → String -
Same as
this.output()
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → String? -
The value for the given
key
, ornull
ifkey
is not in the attributes. -
operator []=(
String key, dynamic value) → void -
Associates the
key
with the givenvalue
.
Static Properties
-
validAttributes
→ Map<
String, Type> -
final