Cookie class

Object representation of a cookie.

Constructors

Properties

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

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, or null if key is not in the attributes.
operator []=(String key, dynamic value) → void
Associates the key with the given value.

Static Properties

validAttributes Map<String, Type>
final