TempInfo.fromJson constructor

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

Implementation

factory TempInfo.fromJson(Map<String, dynamic> json) => TempInfo(
      tempTimeType: json["tempTimeType"] ?? "",
      startTime: json["startTime"] ?? -1,
      tempList: List<double>.from((json["tempList"] ?? []).map((x) => x.toDouble())),
    );