SessionHelper class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
endSession(
String reason) → Future< void> -
getCurrentSessionId(
) → String -
getCurrentSessionStart(
) → int -
getLastEventTimestamp(
) → int -
getSessionDuration(
) → int -
getSessionNumber(
) → int -
getSessionTimeout(
) → int -
hasActiveSession(
) → bool -
increaseSessionNumber(
) → Future< void> -
isSessionExpired(
int currentTs) → bool -
setCurrentSessionStart(
int ts) → Future< void> -
setLastEventTimestamp(
int ts) → Future< void> -
setSessionDuration(
int duration) → Future< void> -
startSession(
) → Future< void>