AirshipFeatureFlagManager class

Feature flag manager

Constructors

AirshipFeatureFlagManager(AirshipModule module)

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

flag(String name, {bool useResultCache = false}) → Future<FeatureFlag>
Gets and evaluates a feature flag with the given name. useResultCache determines if the cached result should be used.
getFlagFromResultCache(String flagName) → Future<FeatureFlag?>
Gets a flag from the result cache.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeFlagFromResultCache(String flagName) → Future<void>
Removes a flag from the result cache.
setFlagInResultCache(FeatureFlag flag, Duration ttl) → Future<void>
Sets a flag in the result cache.
toString() → String
A string representation of this object.
inherited
trackInteraction(FeatureFlag flag) → Future<void>
Tracks interaction with feature flag

Operators

operator ==(Object other) → bool
The equality operator.
inherited