flag

suspend fun flag(name: String): Result<FeatureFlag>

Gets and evaluates a feature flag. The PrivacyManager.Feature.FEATURE_FLAGS must be enabled or this method will return an error.

Return

an instance of Result<FeatureFlag>.

Parameters

name

The flag name