serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, id, Endian.little);
data_.setFloat32(4, timeToMinimumDelta, Endian.little);
data_.setFloat32(8, altitudeMinimumDelta, Endian.little);
data_.setFloat32(12, horizontalMinimumDelta, Endian.little);
data_.setUint8(16, src);
data_.setUint8(17, action);
data_.setUint8(18, threatLevel);
return data_;
}