CarTelemetryData class Null safety

Constructors

CarTelemetryData({required int m_speed, required double m_throttle, required double m_steer, required double m_brake, required int m_clutch, required int m_gear, required int m_engineRPM, required int m_drs, required int m_revLightsPercent, required int m_revLightsBitValue, required List<int> m_brakesTemperature, required List<int> m_tyresSurfaceTemperature, required List<int> m_tyresInnerTemperature, required int m_engineTemperature, required List<double> m_tyresPressure, required List<int> m_surfaceType})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
m_brake double
Amount of brake applied (0.0 to 1.0)
read / write
m_brakesTemperature List<int>
Brakes temperature (celsius) CarWheel
read / write
m_clutch int
Amount of clutch applied (0 to 100)
read / write
m_drs int
0 = off, 1 = on
read / write
m_engineRPM int
Engine RPM
read / write
m_engineTemperature int
Engine temperature (celsius)
read / write
m_gear int
Gear selected (1-8, N=0, R=-1)
read / write
m_revLightsBitValue int
Rev lights (bit 0 = leftmost LED, bit 14 = rightmost LED)
read / write
m_revLightsPercent int
Rev lights indicator (percentage)
read / write
m_speed int
Speed of car in kilometres per hour
read / write
m_steer double
Steering (-1.0 (full lock left) to 1.0 (full lock right))
read / write
m_surfaceType List<int>
Driving surface, see appendices CarWheel
read / write
m_throttle double
Amount of throttle applied (0.0 to 1.0)
read / write
m_tyresInnerTemperature List<int>
Tyres inner temperature (celsius) CarWheel
read / write
m_tyresPressure List<double>
Tyres pressure (PSI) CarWheel
read / write
m_tyresSurfaceTemperature List<int>
Tyres surface temperature (celsius) CarWheel
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited