* @param {!Array<*>=} data * @param {boolean=} includesLabel
(data = [], includesLabel = true)
| 2198 | * @param {boolean=} includesLabel |
| 2199 | */ |
| 2200 | constructor(data = [], includesLabel = true) { |
| 2201 | const base = includesLabel ? 1 : 0; |
| 2202 | |
| 2203 | /** @private {?number} */ |
| 2204 | this.answerId_ = data[base] == null ? null : data[base]; |
| 2205 | |
| 2206 | /** @private {?string} */ |
| 2207 | this.answerText_ = data[1 + base] == null ? null : data[1 + base]; |
| 2208 | |
| 2209 | /** @private {?string} */ |
| 2210 | this.answerCategory_ = data[2 + base] == null ? null : data[2 + base]; |
| 2211 | } |
| 2212 | |
| 2213 | /** |
| 2214 | * @return {?number} |
nothing calls this directly
no outgoing calls
no test coverage detected