parseState method
This override is required to map correctly between the string values in the JSON and the state values of the choosen data type
Implementation
@override
FeatureState parseState(String state) {
return _jsonStateToFeatureStateMap[state] ?? defaultState;
}