Clear all feature flag states.
Get a list of all registered flags.
Get the current state of all feature flags as a record.
Whether the feature flag with the given name is currently activated for the user.
Registers a new feature flag. Once a feature flag has been registered it can be toggled by users, and read back to enable or disable features.
Save the user's choice of feature flag states.
Set the state of multiple feature flags.
Mock implementation of @backstage/frontend-plugin-api#FeatureFlagsApi for testing feature flag behavior.
Example