serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setUint16(4, chan1Raw, Endian.little);
data_.setUint16(6, chan2Raw, Endian.little);
data_.setUint16(8, chan3Raw, Endian.little);
data_.setUint16(10, chan4Raw, Endian.little);
data_.setUint16(12, chan5Raw, Endian.little);
data_.setUint16(14, chan6Raw, Endian.little);
data_.setUint16(16, chan7Raw, Endian.little);
data_.setUint16(18, chan8Raw, Endian.little);
data_.setUint8(20, port);
data_.setUint8(21, rssi);
return data_;
}