fromJson static method
Creates a new heart rate range alert from a JSON object
Implementation
static HeartRateRangeAlert fromJson(Map<String, dynamic> json) {
return HeartRateRangeAlert(
lowerBound: json['lowerBound'] as double,
upperBound: json['upperBound'] as double,
);
}