SessionStorage class

Gestiona el storage de contexto de sesión para view, operation y fbl Estos valores se usan como fallback en eventos de métrica Se resetean automáticamente al iniciar nueva sesión

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

dispose() → void
Libera recursos
getContextStats() → Map<String, dynamic>
Obtiene estadísticas del contexto de sesión para debug
getCurrentFbl() → String
Obtiene el functional block actual o vacío si no está establecido
getCurrentOperation() → String
Obtiene la operation actual o vacía si no está establecida
getCurrentView() → String
Obtiene el view actual o vacío si no está establecido
getSessionContext() → Map<String, String>
Obtiene el contexto completo de sesión
hasSessionContext() → bool
Verifica si hay contexto de sesión configurado
initialize() → Future<void>
Inicializa el storage y configura listeners de sesión
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveContextWithFallback(Map<String, dynamic>? dims) → Map<String, String>
Resuelve valores usando dims proporcionados como prioridad y los valores de sesión como fallback
setFunctionalBlock(String fbl) → Future<void>
Establece el functional block por defecto para la sesión
setOperation(String operation) → Future<void>
Establece la operation por defecto para la sesión
setView(String view) → Future<void>
Establece el view por defecto para la sesión
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → SessionStorage
no setter