OrgEntitlement class

Flattened view of the org_entitlements() JSONB return value.

Tiny on purpose — org-scoped screens only need to know (a) which plan the org is on and (b) whether a specific feature key is enabled.

Constructors

OrgEntitlement({required PlanTier plan, required Map<String, dynamic> entitlements})
const
OrgEntitlement.fromJson(Map<String, dynamic> json)
factory

Properties

canUseApiKeys → bool
no setter
canUseCertifications → bool
no setter
canUseCompliance → bool
no setter
canUseIntegrations → bool
no setter
canUseLearningPaths → bool
no setter
canUseScim → bool
no setter
canUseSso → bool
no setter
canUseTeams → bool
no setter
canUseWebhooks → bool
no setter
entitlements → Map<String, dynamic>
final
hashCode → int
The hash code for this object.
no setterinherited
plan → PlanTier
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

has(String key) → bool
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