serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint16(0, messageType, Endian.little);
data_.setUint8(2, targetNetwork);
data_.setUint8(3, targetSystem);
data_.setUint8(4, targetComponent);
MavlinkMessage.setUint8List(data_, 5, payload);
return data_;
}