SharedPrefStorage class

Constructors

SharedPrefStorage()

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

clear() Future<void>
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 = true, bool ignoreExpires = false]) 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, Object value) Future<void>
Write cookie value with the given key to the storage.

Operators

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