toJson method

Map<String, dynamic> toJson()

Implementation

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