toJson method

Map<String, dynamic> toJson()

Implementation

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