(options)
| 54820 | var _statDefault = parcelHelpers.interopDefault(_stat); |
| 54821 | class Stats { |
| 54822 | constructor(options){ |
| 54823 | (0, _definePropertyDefault.default)(this, "id", void 0); |
| 54824 | (0, _definePropertyDefault.default)(this, "stats", {}); |
| 54825 | this.id = options.id; |
| 54826 | this.stats = {}; |
| 54827 | this._initializeStats(options.stats); |
| 54828 | Object.seal(this); |
| 54829 | } |
| 54830 | get(name) { |
| 54831 | let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "count"; |
| 54832 | return this._getOrCreate({ |
nothing calls this directly
no test coverage detected