HistoryStressInfoBean.fromJson constructor

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

Implementation

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