FeatureFlagsStrategyAdapter class final

FeatureFlagsStrategyAdapter — адаптер AccessStrategy, основанный на FeatureFlagsController.

Используется, если нужно использовать FeatureGate через общую стратегию доступа.

Implemented types
Annotations

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasPermission(BuildContext context, String permission) → bool
Проверка пермишена (например, 'orders.edit')
override
hasRole(BuildContext context, String role) → bool
Проверка роли (если используется)
override
isFeatureEnabled(BuildContext context, String flag) → bool
Проверка feature-флага (например, 'new_ui')
override
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