ZenithScopeContextX extension
BuildContext extension for convenient scope resolution.
- on
Properties
- zenithScope → ZenithTenantScope
-
Available on BuildContext, provided by the ZenithScopeContextX extension
Returns the nearest ZenithTenantScope from ZenithScopeProvider.no setter
Methods
-
zenith<
T> (ZenithKey< T> key) → T -
Available on BuildContext, provided by the ZenithScopeContextX extension
Resolves the value forkeyfrom the nearest ZenithTenantScope's container, or throws if not registered.