core.Map<core.String, core.dynamic> toJson() { final batchDescriptor = this.batchDescriptor; final thresholds = this.thresholds; return {'batchDescriptor': ?batchDescriptor, 'thresholds': ?thresholds}; }