GoogleCloudDocumentaiV1ProcessRequest.fromJson constructor
GoogleCloudDocumentaiV1ProcessRequest.fromJson(
- Map json_
Implementation
GoogleCloudDocumentaiV1ProcessRequest.fromJson(core.Map json_)
: this(
fieldMask: json_.containsKey('fieldMask')
? json_['fieldMask'] as core.String
: null,
gcsDocument: json_.containsKey('gcsDocument')
? GoogleCloudDocumentaiV1GcsDocument.fromJson(
json_['gcsDocument'] as core.Map<core.String, core.dynamic>)
: null,
inlineDocument: json_.containsKey('inlineDocument')
? GoogleCloudDocumentaiV1Document.fromJson(json_['inlineDocument']
as core.Map<core.String, core.dynamic>)
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
processOptions: json_.containsKey('processOptions')
? GoogleCloudDocumentaiV1ProcessOptions.fromJson(
json_['processOptions']
as core.Map<core.String, core.dynamic>)
: null,
rawDocument: json_.containsKey('rawDocument')
? GoogleCloudDocumentaiV1RawDocument.fromJson(
json_['rawDocument'] as core.Map<core.String, core.dynamic>)
: null,
skipHumanReview: json_.containsKey('skipHumanReview')
? json_['skipHumanReview'] as core.bool
: null,
);