SessionValue class
A class to encapsulate a session value
Constructors
- SessionValue(dynamic value, int ttl, SessionOptions options)
- Creates a new instance of SessionValue
Properties
- deleted ↔ bool
-
Whether the session has been deleted
getter/setter pair
- hasChanged ↔ bool
-
Whether the session has changed
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- options ↔ SessionOptions
-
The options for the session
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ttl ↔ int
-
The time to live of the session
getter/setter pair
- value ↔ dynamic
-
The value of the session
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited