copyWith method
copyWith is the function to copy the class.
Implementation
Thermal copyWith({
List<ThermalType>? cpuThermals,
}) {
return Thermal(
cpuThermals: cpuThermals ?? this.cpuThermals,
);
}
copyWith is the function to copy the class.
Thermal copyWith({
List<ThermalType>? cpuThermals,
}) {
return Thermal(
cpuThermals: cpuThermals ?? this.cpuThermals,
);
}