* Call the #build() method to build and get the CustomEventReporter instance. * One CustomEventReporterBuilder instance can only build one reporter, which * means #build() should only be called once after all eventType are added. * @return {!CustomEventReporter}
()
| 183 | * @return {!CustomEventReporter} |
| 184 | */ |
| 185 | build() { |
| 186 | devAssert(this.config_, 'CustomEventReporter already built'); |
| 187 | const report = new CustomEventReporter( |
| 188 | this.parent_, |
| 189 | /** @type {!JsonObject} */ (this.config_) |
| 190 | ); |
| 191 | this.config_ = null; |
| 192 | return report; |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | /** |
no test coverage detected