OrgEntitlementsFamily class
Per-organization entitlements — what does THIS org's plan unlock, regardless of which orgs the caller also belongs to.
Returns a lightweight wrapper around the org_entitlements() Postgres
function. Screens gated by org-scoped features (SSO, webhooks, learning
paths, etc.) should watch this provider for the specific orgId they're
displaying, NOT currentEntitlements, to avoid a multi-org edge case
where a user who belongs to an enterprise org on the side incorrectly
sees their trial org as unlocked.
Copied from orgEntitlements.
- Inheritance
-
- Object
- Family<
AsyncValue< OrgEntitlement> > - OrgEntitlementsFamily
Constructors
- OrgEntitlementsFamily()
-
Per-organization entitlements — what does THIS org's plan unlock,
regardless of which orgs the caller also belongs to.
const
Properties
-
allTransitiveDependencies
→ Iterable<
ProviderOrFamily> ? -
All the dependencies of a provider and their dependencies too.
no setteroverride
-
dependencies
→ Iterable<
ProviderOrFamily> ? -
The list of providers that this provider potentially depends on.
no setteroverride
-
from
→ Family<
Object?> ? -
The family that this provider/family depends on.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
A custom label for providers.
no setteroverride
-
overriddenFamily
→ Family<
AsyncValue< OrgEntitlement> > -
The family that was overridden.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
String orgId) → OrgEntitlementsProvider - Per-organization entitlements — what does THIS org's plan unlock, regardless of which orgs the caller also belongs to.
-
getProviderOverride(
covariant OrgEntitlementsProvider provider) → OrgEntitlementsProvider - Obtains the new behavior for a provider associated to the overridden family.
-
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