removeFeatureState method
Removes entries from a feature state object.
Remove a specified property or all property from a feature's state object, depending on the value of
stateKey.
Note that updates to feature state are asynchronous, so changes made by this method might not be
immediately visible using getStateFeature.
Implementation
Future<void> removeFeatureState(String sourceId, String? sourceLayerId,
String featureId, String? stateKey) =>
_mapInterface.removeFeatureState(
sourceId, sourceLayerId, featureId, stateKey);