getFeatureFlag

abstract fun getFeatureFlag(id: String): FeatureFlag

Requests a specific Feature Flags. This will pull the data from a local cache and does not force a refresh.

Note that this is a synchronous blocking method.

Return

FeatureFlag of the requested ID. If the Feature Flag does not exist, a FeatureFlag will be returned with enabled set to false and empty properties.

Parameters

id

The ID of the Feature Flag to retrieve.