toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "startTime": startTime,
      "heartRateList": List<dynamic>.from(heartRateList.map((x) => x)),
      "timeInterval": timeInterval,
      "heartRateType": heartRateType,
      "isAllDay": isAllDay,
    };