remove Feature State
abstract fun <FS : FeatureState, FSK : FeatureStateKey<FS>> FeaturesetFeature<FS>.removeFeatureState(stateKey: FSK? = null, callback: FeatureStateOperationCallback = FeatureStateOperationCallback { }): Cancelable
Removes entries from a feature state based on the FeaturesetFeature.
Removes a specified property or all property from a feature's state object, depending on the value of stateKey.
Return
A Cancelable object that could be used to cancel the pending operation.
Parameters
state Key
The typed key of the property to remove. If null, all feature's state object properties are removed.
callback
The FeatureStateOperationCallback called when the operation completes or ends.