serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, baudrate, Endian.little);
data_.setUint16(4, timeout, Endian.little);
data_.setUint8(6, device);
data_.setUint8(7, flags);
data_.setUint8(8, count);
MavlinkMessage.setUint8List(data_, 9, data);
data_.setUint8(79, targetSystem);
data_.setUint8(80, targetComponent);
return data_;
}