stateSnapshot property
A feature state.
This is a snapshot of the state that the feature had when it was interacted with.
To update and read the original state, use MapboxMap/setFeatureState() and MapboxMap/getFeatureState().
Implementation
StandardPOIsState get stateSnapshot {
return StandardPOIsState()..hide = state["hide"] as bool?;
}