AnnotateTextRequestFeatures.fromJson constructor
AnnotateTextRequestFeatures.fromJson(
- Map json_
Implementation
AnnotateTextRequestFeatures.fromJson(core.Map json_)
: this(
classificationModelOptions:
json_.containsKey('classificationModelOptions')
? ClassificationModelOptions.fromJson(
json_['classificationModelOptions']
as core.Map<core.String, core.dynamic>)
: null,
classifyText: json_.containsKey('classifyText')
? json_['classifyText'] as core.bool
: null,
extractDocumentSentiment:
json_.containsKey('extractDocumentSentiment')
? json_['extractDocumentSentiment'] as core.bool
: null,
extractEntities: json_.containsKey('extractEntities')
? json_['extractEntities'] as core.bool
: null,
extractEntitySentiment: json_.containsKey('extractEntitySentiment')
? json_['extractEntitySentiment'] as core.bool
: null,
extractSyntax: json_.containsKey('extractSyntax')
? json_['extractSyntax'] as core.bool
: null,
moderateText: json_.containsKey('moderateText')
? json_['moderateText'] as core.bool
: null,
);