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