BloodPressureBean.fromJson constructor
BloodPressureBean.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BloodPressureBean.fromJson(Map<String, dynamic> json) => BloodPressureBean(
type: json["type"],
continueState: json["continueState"] ?? false,
pressureChange: BloodPressureChangeBean.fromJson(json["pressureChange"] ?? {}),
historyBpList: List<HistoryBloodPressureBean>.from((json["historyBpList"] ?? []).map((x) => HistoryBloodPressureBean.fromJson(x))),
continueBp: BloodPressureInfo.fromJson(json["continueBp"] ?? {}),
);