TempChangeBean.fromJson constructor
Implementation
factory TempChangeBean.fromJson(Map<String, dynamic> json) => TempChangeBean(
enable: json["enable"] ?? false,
temp: (json["temp"] ?? 0.0).toDouble(),
state: json["state"] ?? false,
tempInfo: TempInfo.fromJson(json["tempInfo"] ?? {}),
type: json["type"],
);