SqlStorage class

Implemented types

Constructors

SqlStorage(String tableName, FutureOr<void> sqlExecute(String sql), FutureOr<Iterable<Map<String, Object?>>?> sqlSelect(String sql))

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sqlExecute → FutureOr<void> Function(String sql)
final
sqlSelect → FutureOr<Iterable<Map<String, Object?>>?> Function(String sql)
final
tableName → String
final

Methods

clearOutdated() → Future<void>
override
createTable() → Future<void>
deleteSession(String sessionId) → Future<void>
override
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
toString() → String
A string representation of this object.
inherited

Operators

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