TenantScopedRx<T> class

Tenant-scoped reactive state

Constructors

TenantScopedRx(T _initialValueFactory())

Properties

current Rx<T>
Get state for current tenant (from tenant store)
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() → void
Clear all tenant states
clearTenant(String tenantId) → void
Clear tenant state
getForTenant(String tenantId) Rx<T>
Get state for current tenant
getTenantIds() List<String>
Get all tenant IDs with state
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