AnnotateTextRequest.fromJson constructor
AnnotateTextRequest.fromJson(
- Map json_
Implementation
AnnotateTextRequest.fromJson(core.Map json_)
: this(
document: json_.containsKey('document')
? Document.fromJson(
json_['document'] as core.Map<core.String, core.dynamic>)
: null,
encodingType: json_.containsKey('encodingType')
? json_['encodingType'] as core.String
: null,
features: json_.containsKey('features')
? AnnotateTextRequestFeatures.fromJson(
json_['features'] as core.Map<core.String, core.dynamic>)
: null,
);