fromJson static method
Create a PolarSdkFeature from json
Implementation
static PolarSdkFeature fromJson(dynamic json) {
if (Platform.isIOS) {
return PolarSdkFeature.values[json as int];
} else {
// This is android
return _stringFeatureMap[json as String]!;
}
}