CookieStore class Null safety

A store for Cookies

Constructors

CookieStore()

Properties

cookieMap Map<String, ClientCookie>
The actual storeage
read / write
cookies List<ClientCookie>
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
toReqHeader String
Returns a String representation that can be directly written http.Request header.
read-only

Methods

addFromHeader(String? setCookieLine) → void
Parses and adds all 'set-cookies' from http.Response to the Cookie store
addFromResponse(Response resp) → void
Parses and adds all 'set-cookies' from http.Response to the Cookie store
get(String name) ClientCookie?
Returns a cookie by name
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
String representation that is useful for debug printing
override

Operators

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