serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, breachTime, Endian.little);
  data_.setUint16(4, breachCount, Endian.little);
  data_.setUint8(6, breachStatus);
  data_.setUint8(7, breachType);
  data_.setUint8(8, breachMitigation);
  return data_;
}