serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint8(0, severity);
  MavlinkMessage.setInt8List(data_, 1, text);
  data_.setUint16(51, id, Endian.little);
  data_.setUint8(53, chunkSeq);
  return data_;
}