HistoryBloodPressureBean.fromJson constructor

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

Implementation

factory HistoryBloodPressureBean.fromJson(Map<String, dynamic> json) => HistoryBloodPressureBean(
      date: json["date"] ?? "",
      sbp: json["sbp"] ?? -1,
      dbp: json["dbp"] ?? -1,
    );