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
StandardBuildingsState get stateSnapshot {
return StandardBuildingsState()
..highlight = state["highlight"] as bool?
..select = state["select"] as bool?;
}