ThermalState class

Constructors

ThermalState({required String state, required int level, String? description, required bool isThrottling, String? statusMessage, required ThermalLevel thermalLevel})
const
ThermalState.fromJson(Map<String, dynamic> json)
factory

Properties

description String?
final
hashCode int
The hash code for this object.
no setteroverride
isCritical bool
no setter
isThrottling bool
final
isWarning bool
no setter
level int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String
final
statusMessage String?
final
thermalLevel ThermalLevel
final

Methods

copyWith({String? state, int? level, String? description, bool? isThrottling, String? statusMessage, ThermalLevel? thermalLevel}) ThermalState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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