FileCapabilitiesMessage class

Inheritance

Constructors

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

Properties

definitionMessage DefinitionMessage?
getter/setter pairinherited
developerFields List<DeveloperField>
finalinherited
directory String?
Returns the value of the directory field. Returns null if the field is not defined in the message.
getter/setter pair
endian Endian
finalinherited
fields List<Field>
finalinherited
flags int?
Returns the value of the flags field. Returns null if the field is not defined in the message.
getter/setter pair
globalId int
finalinherited
growable bool
final
hashCode int
The hash code for this object.
no setterinherited
localId int
getter/setter pairinherited
maxCount int?
Returns the value of the maxCount field. Returns null if the field is not defined in the message.
getter/setter pair
maxSize int?
Returns the value of the maxSize field. Returns null if the field is not defined in the message.
getter/setter pair
messageIndex int?
Returns the value of the messageIndex field. Returns null if the field is not defined in the message.
getter/setter pair
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pairinherited
type FileType?
Returns the value of the type 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) FileCapabilitiesMessage
Returns an instance of FileCapabilitiesMessage 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