Storage class abstract
The storage concept to persist cookies.
- Implementers
Constructors
- Storage()
-
const
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 key) → Future< void> -
Delete the cookie value with the given
key
in the storage. -
deleteAll(
List< String> keys) → Future<void> - Delete all cookies in the storage (regardless the keys).
-
init(
bool persistSession, bool ignoreExpires) → Future< void> - Initialization for the Storage, e.g. prepare storage paths.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
Read cookie string from the given
key
in the storage. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> -
Write cookie
value
with the givenkey
to the storage.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited