maybeOf static method
Retrieves the nearest ZenithTenantScope from context, or null if none exists.
Implementation
static ZenithTenantScope? maybeOf(BuildContext context) {
return context.getInheritedWidgetOfExactType<ZenithScopeProvider>()?.scope;
}