ClimateState class

A class that represents the climate state of a vehicle.

Each instance holds data related to inside and outside temperature, driver and passenger temperature settings, various defroster, fan, heater statuses, and more.

Constructors

ClimateState({double? insideTemp, double? outsideTemp, double? driverTempSetting, double? passengerTempSetting, int? leftTempDirection, int? rightTempDirection, bool? isFrontDefrosterOn, bool? isRearDefrosterOn, int? fanStatus, bool? isClimateOn, double? minAvailTemp, double? maxAvailTemp, bool? seatHeaterLeft, bool? seatHeaterRight, bool? seatHeaterRearLeft, bool? seatHeaterRearRight, bool? seatHeaterRearCenter, int? seatHeaterRearRightBack, int? seatHeaterRearLeftBack, bool? batteryHeater, bool? batteryHeaterNoPower, bool? steeringWheelHeater, bool? wiperBladeHeater, bool? sideMirrorHeaters, bool? isPreconditioning, bool? smartPreconditioning, bool? isAutoConditioningOn, int? timestamp})
Constructs a new instance of the ClimateState class.
ClimateState.fromJson(Map<String, dynamic> json)
Creates a new instance of the ClimateState class from a map.
factory

Properties

batteryHeater → bool?
Status of the battery heater.
final
batteryHeaterNoPower → bool?
Whether the battery heater has no power.
final
driverTempSetting → double?
The driver's side temperature setting in degrees Celsius.
final
fanStatus → int?
The current fan status.
final
hashCode → int
The hash code for this object.
no setterinherited
insideTemp → double?
The current inside temperature of the vehicle in degrees Celsius.
final
isAutoConditioningOn → bool?
Whether auto conditioning is on.
final
isClimateOn → bool?
Whether the climate control is on.
final
isFrontDefrosterOn → bool?
Whether the front defroster is on.
final
isPreconditioning → bool?
Whether preconditioning is active.
final
isRearDefrosterOn → bool?
Whether the rear defroster is on.
final
leftTempDirection → int?
The direction of the temperature on the driver's side.
final
maxAvailTemp → double?
The maximum available temperature in degrees Celsius.
final
minAvailTemp → double?
The minimum available temperature in degrees Celsius.
final
outsideTemp → double?
The current outside temperature of the vehicle in degrees Celsius.
final
passengerTempSetting → double?
The passenger side temperature setting in degrees Celsius.
final
rightTempDirection → int?
The direction of the temperature on the passenger's side.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seatHeaterLeft → bool?
Status of the left front seat heater.
final
seatHeaterRearCenter → bool?
Status of the center rear seat heater.
final
seatHeaterRearLeft → bool?
Status of the left rear seat heater.
final
seatHeaterRearLeftBack → int?
Level of the left rear seat heater.
final
seatHeaterRearRight → bool?
Status of the right rear seat heater.
final
seatHeaterRearRightBack → int?
Level of the right rear seat heater.
final
seatHeaterRight → bool?
Status of the right front seat heater.
final
sideMirrorHeaters → bool?
Status of the side mirror heaters.
final
smartPreconditioning → bool?
Whether smart preconditioning is active.
final
steeringWheelHeater → bool?
Status of the steering wheel heater.
final
timestamp → int?
The timestamp when the data was recorded.
final
wiperBladeHeater → bool?
Status of the wiper blade heater.
final

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