FeatureFlag

A strongly typed representation of a feature flag that couples a key, a default value, and a data type. Feature flag instances can be used to acquire the value that flag represents from a FeatureFlagManager or ObservableFeatureFlagManager implementation.

Inheritors

Properties

Link copied to clipboard
abstract val default: OptionType

The default option to be assumed when no backing value is present.

Link copied to clipboard
abstract val key: String

The value that's used to extract this feature flag value in the underlying storage mechanism.