returns map representation of Thermal object.
Map<String, dynamic> toMap() { return { 'cpuThermals': cpuThermals.map((x) => x.toMap()).toList(), }; }