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