CookieStorage class
Our main class. This is where our main job is done.
Constructors
-
CookieStorage(Future<
String> storePath, {void setCookieListener(String)?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setCookieListener → void Function(String)?
-
final
-
storePath
→ Future<
String> -
final
Methods
-
clear(
) → Future< void> -
findExpiresAttr(
String setCookie, int startIndex) → DateTime? -
findMaxAgeAttr(
String setCookie, int startIndex, DateTime now) → DateTime? -
loadToReq(
RequestOptions options) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
storeAll(
) → Future< void> -
storeFromRes(
Response res) → Future< void> -
toCookieString(
) → Future< String?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited