FileStorage class Null safety

Save cookies in files

Implemented types

Constructors

FileStorage([String? dir])

Properties

dir String?
_dir: where the cookie files saved in, it must be a directory path.
final
hashCode int
The hash code for this object.
read-onlyinherited
readPreHandler ↔ (String? Function?(Uint8List list)?)
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
writePreHandler ↔ (List<int> Function?(String value)?)
read / write

Methods

delete(String key) Future<void>
override
deleteAll(List<String> keys) Future<void>
override
init(bool persistSession, bool ignoreExpires) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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