TrainingHeartRateBean.fromJson constructor

TrainingHeartRateBean.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TrainingHeartRateBean.fromJson(Map<String, dynamic> json) => TrainingHeartRateBean(
      type: json["type"],
      startTime: json["startTime"],
      endTime: json["endTime"],
      validTime: json["validTime"],
      steps: json["steps"],
      distance: json["distance"],
      calories: json["calories"],
    );