ThermalInfo class
Device thermal throttling status and power-saving modes.
Constructors
- ThermalInfo({required String thermalStatus, required bool isPowerSaveMode, required bool isDeviceIdleMode})
-
const
- ThermalInfo.fromMap(Map map)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDeviceIdleMode → bool
-
Whether device is currently in idle / doze mode.
final
- isPowerSaveMode → bool
-
Whether system battery saver / low-power mode is enabled.
final
- isThrottling → bool
-
Whether device is experiencing any significant thermal throttling.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thermalStatus → String
-
Thermal throttling status (e.g. "NONE", "LIGHT", "MODERATE", "SEVERE", "CRITICAL", or "NOMINAL").
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited