serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, id, Endian.little);
data_.setUint8(4, targetSystem);
data_.setUint8(5, targetComponent);
data_.setUint8(6, bus);
data_.setUint8(7, len);
MavlinkMessage.setUint8List(data_, 8, data);
return data_;
}