toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (classifyText != null) 'classifyText': classifyText!,
      if (extractDocumentSentiment != null)
        'extractDocumentSentiment': extractDocumentSentiment!,
      if (extractEntities != null) 'extractEntities': extractEntities!,
      if (moderateText != null) 'moderateText': moderateText!,
    };