Session class

Constructors

Session(String id, {Map<String, dynamic> data = const {}})

Properties

getter/setter pair
expiry → DateTime?
no setter
hash ↔ String
latefinal
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
modified → bool
no setter
resave → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saveUninitialized → bool
no setter
valid → bool
no setter

Methods

destroy() → FutureOr<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetMaxAge() → void
save() → FutureOr<void>
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String key) → dynamic
operator []=(String name, dynamic value) → void

Constants

name → const String