FileStorage class
Persist Cookies
in the host file storage.
- Implemented types
Constructors
- FileStorage.new([String? dir])
- FileStorage.test(String? dir, {bool shouldCreateDirectory = false})
Properties
- dir → String?
-
Where the cookie files should be saved.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- readPreHandler ↔ String? Function(Uint8List list)?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
writePreHandler
↔ List<
int> Function(String value)? -
getter/setter pair
Methods
-
delete(
String key) → Future< void> -
override
-
deleteAll(
) → Future< void> -
override
-
init(
bool persistSession, bool ignoreExpires) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited