Thermal class

Thermal is information about the thermal.

Constructors

Thermal({required List<ThermalType> cpuThermals})
constructor for the class.
Thermal.fromJson(String source)
returns Thermal object from json.
factory
Thermal.fromMap(Map<String, dynamic> map)
returns Thermal object from map.
factory

Properties

cpuThermals List<ThermalType>
list of cpu thermals ThermalType i.e cpu0, cpu1, cpu2, cpu3, cpu4, cpu5, cpu6, cpu7.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<ThermalType>? cpuThermals}) Thermal
copyWith is the function to copy the class.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
returns json representation of Thermal object.
toMap() Map<String, dynamic>
returns map representation of Thermal object.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override