serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setUint32(4, lastChangeMs, Endian.little);
data_.setUint8(8, state);
return data_;
}