serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint16(0, funcIndex, Endian.little);
data_.setUint16(2, result, Endian.little);
data_.setUint8(4, targetSystem);
data_.setUint8(5, targetComponent);
return data_;
}