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