getFeatureState method

FeatureStateHolder getFeatureState(
  1. String? key
)

returns FeatureStateHolder if feature key exists or null if the feature value is not set or does not exist

Implementation

FeatureStateHolder getFeatureState(String? key) {
  return _features.putIfAbsent(
      key, () => _FeatureStateBaseHolder(null, _featureValueInterceptors));
}