toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "type": type,
      "measuring": measuring,
      "onceMeasureComplete": onceMeasureComplete,
      "historyHrList": List<dynamic>.from(historyHrList!.map((x) => x.toJson())),
      "measureComplete": measureComplete!.toJson(),
      "hour24MeasureResult": hour24MeasureResult!.toJson(),
      "trainingList": List<dynamic>.from(trainingList!.map((x) => x.toJson())),
    };