setFeatureStateForFeaturesetFeature method

  1. @experimental
Future<void> setFeatureStateForFeaturesetFeature(
  1. FeaturesetFeature feature,
  2. FeatureState state
)

Update the state map of an individual feature.

The feature should have a non-nil FeaturesetFeatureType/id. Otherwise, the operation will be no-op and callback will receive an error.

Implementation

@experimental
Future<void> setFeatureStateForFeaturesetFeature(
        FeaturesetFeature feature, FeatureState state) =>
    _mapInterface.setFeatureStateForFeaturesetFeature(feature, state.map);