SessionInfo class
Immutable snapshot of the current process's session — a fresh one is
created at construction (cold start) and again on any RoyLifecycleEvent
.resumed that arrives after longer than AppSessionTracker.sessionTimeout
in the background.
Constructors
- SessionInfo({required String sessionId, required int sequence, required int installTimeMs})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- installTimeMs → int
-
First-ever app open, in epoch ms — set once, never changes again.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → int
-
This device's Nth session ever, 1-indexed.
final
- sessionId → String
-
Random per-session id — a new one every time a new session starts,
never persisted (not meant to identify the device across sessions;
use
ExperimentBucketingService.anonymousIdfor that).final
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