SessionConfig class

Session engine configuration.

Constructors

SessionConfig({int? timeoutMs, bool? resetOnCampaign, AnalyticsStorage? storage, String? storageKey})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
resetOnCampaign → bool?
Reset the session when a campaign/utm change is detected.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storage → AnalyticsStorage?
Persistence backend; defaults to platform storage → memory.
final
storageKey → String?
Storage key namespace.
final
timeoutMs → int?
Inactivity timeout in ms before a new session is minted. GA4 = 30 min.
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