serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint64(0, armingTimeUtc, Endian.little);
  data_.setUint64(8, takeoffTimeUtc, Endian.little);
  data_.setUint64(16, flightUuid, Endian.little);
  data_.setUint32(24, timeBootMs, Endian.little);
  data_.setUint32(28, landingTime, Endian.little);
  return data_;
}