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