FileStorage class abstract

Inheritance

Constructors

FileStorage()

Properties

dir ↔ Directory
latefinal
hashCode → int
The hash code for this object.
no setterinherited
regex ↔ RegExp
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearOutdated() → Future<void>
override
deleteSession(String sessionId) → Future<void>
override
getFile(String sessionId) → File
getSession(String sessionId) → Future<Session?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveSession(Session session, String sessionId) → Future<void>
override
sessionExist(String sessionId) → Future<bool>
override
sessionFromFile(File file) → FutureOr<Session>
toString() → String
A string representation of this object.
inherited
writeSession(Session session, File file) → FutureOr<void>

Operators

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

Static Methods

crypto(Directory dir, Cipher algorithm, SecretKey secretKey) → FileStorage
plain(Directory dir) → FileStorage