WeatherForecastSample class

Constructors

WeatherForecastSample({required int m_sessionType, required int m_timeOffset, required int m_weather, required int m_trackTemperature, required int m_trackTemperatureChange, required int m_airTemperature, required int m_airTemperatureChange, required int m_rainPercentage})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
m_airTemperature int
Air temp. in degrees celsius
final
m_airTemperatureChange int
Air temp. change – 0 = up, 1 = down, 2 = no change
final
m_rainPercentage int
Rain percentage (0-100)
final
m_sessionType int
0 = unknown, 1 = P1, 2 = P2, 3 = P3, 4 = Short P, 5 = Q1 6 = Q2, 7 = Q3, 8 = Short Q, 9 = OSQ, 10 = R, 11 = R2 12 = Time Trial
final
m_timeOffset int
Time in minutes the forecast is for
final
m_trackTemperature int
Track temp. in degrees Celsius
final
m_trackTemperatureChange int
Track temp. change – 0 = up, 1 = down, 2 = no change
final
m_weather int
Weather - 0 = clear, 1 = light cloud, 2 = overcast 3 = light rain, 4 = heavy rain, 5 = storm
final
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