serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
data_.setUint16(8, chan1Raw, Endian.little);
data_.setUint16(10, chan2Raw, Endian.little);
data_.setUint16(12, chan3Raw, Endian.little);
data_.setUint16(14, chan4Raw, Endian.little);
data_.setUint16(16, chan5Raw, Endian.little);
data_.setUint16(18, chan6Raw, Endian.little);
data_.setUint16(20, chan7Raw, Endian.little);
data_.setUint16(22, chan8Raw, Endian.little);
data_.setUint16(24, chan9Raw, Endian.little);
data_.setUint16(26, chan10Raw, Endian.little);
data_.setUint16(28, chan11Raw, Endian.little);
data_.setUint16(30, chan12Raw, Endian.little);
data_.setUint8(32, rssi);
return data_;
}