TemperatureLevel enum Sensor Data Source
Values that represent temperature levels.
This enum defines different levels of temperature, indicating how hot or cold a system or environment is. Each level is associated with a specific range of temperature values.
Values
- unknown → const TemperatureLevel
-
The temperature level is unknown.
- normal → const TemperatureLevel
-
The temperature level is normal.
- fair → const TemperatureLevel
-
Fair temperature level; degrees are greater than 35 and less than or equal to 45.
- serious → const TemperatureLevel
-
Serious temperature level; degrees are greater than 45 and less than or equal to 55.
- critical → const TemperatureLevel
-
Critical temperature level; degrees are greater than 55 and less than or equal to 65.
- shuttingDown → const TemperatureLevel
-
Shutting down due to high temperature; degrees are greater than 65.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
TemperatureLevel> - A constant List of the values in this enum, in order of their declaration.