isFeatureOn static method
Checks whether a feature flag is enabled.
featureKey - The key of the feature flag.
Returns: Future<bool>, true if the feature flag is on.
Implementation
static Future<bool> isFeatureOn(int featureKey) {
return HacklePlatform.instance.isFeatureOn(featureKey);
}