IdProvider class abstract

Abstract interface for managing device and session identification

Implementers

Constructors

IdProvider()

Properties

deviceId String?
Get the device ID (stable across app launches)
no setter
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String?
Get the session ID (unique per app launch)
no setter

Methods

initialize() Future<void>
Initialize device and session IDs asynchronously
initializeSync() → void
Initialize synchronously (for console-only loggers)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
regenerateSessionId() → void
Generate a new session ID (called on each init)
reset() → void
Reset all IDs (mainly for testing)
resetSession() → void
Reset session ID only
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited