WeatherConditionsMessage class

Inheritance

Constructors

WeatherConditionsMessage({dynamic definitionMessage, dynamic developerFields, int localId = 0, Endian endian = Endian.little})

Properties

condition WeatherStatus?
Returns the value of the condition field. Returns null if the field is not defined in the message.
getter/setter pair
dayOfWeek DayOfWeek?
Returns the value of the dayOfWeek field. Returns null if the field is not defined in the message.
getter/setter pair
definitionMessage DefinitionMessage?
getter/setter pairinherited
developerFields List<DeveloperField>
finalinherited
endian Endian
finalinherited
fields List<Field>
finalinherited
globalId int
finalinherited
growable bool
final
hashCode int
The hash code for this object.
no setterinherited
highTemperature int?
Returns the value of the highTemperature field. Returns null if the field is not defined in the message.
getter/setter pair
localId int
getter/setter pairinherited
location String?
Returns the value of the location field. Returns null if the field is not defined in the message.
getter/setter pair
lowTemperature int?
Returns the value of the lowTemperature field. Returns null if the field is not defined in the message.
getter/setter pair
name String
finalinherited
observedAtTime int?
Returns the value of the timestamp field in milliseconds since January 1st, 1970 at 00:00:00 UTC
getter/setter pair
observedLocationLat double?
Returns the value of the observedLocationLat field. Returns null if the field is not defined in the message.
getter/setter pair
observedLocationLong double?
Returns the value of the observedLocationLong field. Returns null if the field is not defined in the message.
getter/setter pair
precipitationProbability int?
Returns the value of the precipitationProbability field. Returns null if the field is not defined in the message.
getter/setter pair
relativeHumidity int?
Returns the value of the relativeHumidity field. Returns null if the field is not defined in the message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pairinherited
temperature int?
Returns the value of the temperature field. Returns null if the field is not defined in the message.
getter/setter pair
temperatureFeelsLike int?
Returns the value of the temperatureFeelsLike field. Returns null if the field is not defined in the message.
getter/setter pair
timestamp int?
Returns the value of the timestamp field in milliseconds since January 1st, 1970 at 00:00:00 UTC
getter/setter pair
weatherReport WeatherReport?
Returns the value of the weatherReport field. Returns null if the field is not defined in the message.
getter/setter pair
windDirection int?
Returns the value of the windDirection field. Returns null if the field is not defined in the message.
getter/setter pair
windSpeed double?
Returns the value of the windSpeed field. Returns null if the field is not defined in the message.
getter/setter pair

Methods

clearDeveloperFieldById(int developerDataIndex, int id) → void
inherited
clearFieldById(int id) → void
inherited
getDeveloperField(int developerDataIndex, int id) DeveloperField?
inherited
getDeveloperFieldByName(String name) DeveloperField?
inherited
getField(int id) Field?
inherited
getFieldByName(String name) Field?
inherited
hasDeveloperFields() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFromBytes(Uint8List bytes) → void
inherited
removeDeveloperField(int developerDataIndex, int id) → void
inherited
removeField(int id) → void
inherited
setDefinitionMessage(DefinitionMessage definition) → void
inherited
toBytes() Uint8List
inherited
toRow() List
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromBytes(DefinitionMessage definitionMessage, Uint8List bytes) WeatherConditionsMessage
Returns an instance of WeatherConditionsMessage from a bytes list.
override

Constants

ID → const int
The Global ID of the message. In the FIT documentation this is referred to as the "Global Message Number".
NAME → const String