GuiSettings class

A class that represents the Graphical User Interface (GUI) settings of a vehicle.

Each instance holds data related to the vehicle's GUI display settings such as units for distance, temperature, charge rate, time format and range display.

Constructors

GuiSettings({String? guiDistanceUnits, String? guiTemperatureUnits, String? guiChargeRateUnits, bool? gui24HourTime, String? guiRangeDisplay, int? timestamp})
Constructs a new instance of the GuiSettings class.
GuiSettings.fromJson(Map<String, dynamic> json)
Creates a new instance of the GuiSettings class from a map.
factory

Properties

gui24HourTime → bool?
Whether the GUI uses a 24-hour time format.
final
guiChargeRateUnits → String?
The units being used for charge rate in the GUI (e.g., "kW" for kilowatts, "mi/hr" for miles per hour).
final
guiDistanceUnits → String?
The distance units being used in the GUI (e.g., "km" for kilometers, "mi" for miles).
final
guiRangeDisplay → String?
The type of range display used in the GUI (e.g., "Rated", "Ideal").
final
guiTemperatureUnits → String?
The temperature units being used in the GUI (e.g., "C" for Celsius, "F" for Fahrenheit).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → int?
The timestamp when the data was recorded.
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