HeartRateInfo.fromJson constructor
Implementation
factory HeartRateInfo.fromJson(Map<String, dynamic> json) => HeartRateInfo(
startTime: json["startTime"] ?? 0,
heartRateList: List<int>.from((json["heartRateList"] ?? []).map((x) => x)),
timeInterval: json["timeInterval"] ?? 0,
heartRateType: json["heartRateType"] ?? "",
isAllDay: json["isAllDay"] ?? 0,
);