serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setFloat32(0, extraValue, Endian.little);
data_.setUint8(4, targetSystem);
data_.setUint8(5, targetComponent);
data_.setUint8(6, session);
data_.setUint8(7, zoomPos);
data_.setInt8(8, zoomStep);
data_.setUint8(9, focusLock);
data_.setUint8(10, shot);
data_.setUint8(11, commandId);
data_.setUint8(12, extraParam);
return data_;
}