serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint16(0, sequence, Endian.little);
data_.setUint8(2, targetSystem);
data_.setUint8(3, targetComponent);
data_.setUint8(4, length);
data_.setUint8(5, firstMessageOffset);
MavlinkMessage.setUint8List(data_, 6, data);
return data_;
}