core.Map<core.String, core.dynamic> toJson() => { if (scoreThreshold != null) 'scoreThreshold': scoreThreshold!, };