toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (categories != null) 'categories': categories!,
if (documentSentiment != null) 'documentSentiment': documentSentiment!,
if (entities != null) 'entities': entities!,
if (languageCode != null) 'languageCode': languageCode!,
if (languageSupported != null) 'languageSupported': languageSupported!,
if (moderationCategories != null)
'moderationCategories': moderationCategories!,
if (sentences != null) 'sentences': sentences!,
};