serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint16(0, command, Endian.little);
  data_.setUint8(2, result);
  data_.setUint8(3, progress);
  data_.setInt32(4, resultParam2, Endian.little);
  data_.setUint8(8, targetSystem);
  data_.setUint8(9, targetComponent);
  return data_;
}