serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint8(0, targetSystem);
data_.setUint8(1, targetComponent);
MavlinkMessage.setUint8List(data_, 2, idOrMac);
data_.setUint8(22, singleMessageSize);
data_.setUint8(23, msgPackSize);
MavlinkMessage.setUint8List(data_, 24, messages);
return data_;
}