GoogleCloudDocumentaiV1beta3DocumentPageToken.fromJson constructor
GoogleCloudDocumentaiV1beta3DocumentPageToken.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta3DocumentPageToken.fromJson(core.Map _json)
: this(
detectedBreak: _json.containsKey('detectedBreak')
? GoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak
.fromJson(_json['detectedBreak']
as core.Map<core.String, core.dynamic>)
: null,
detectedLanguages: _json.containsKey('detectedLanguages')
? (_json['detectedLanguages'] as core.List)
.map((value) =>
GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
layout: _json.containsKey('layout')
? GoogleCloudDocumentaiV1beta3DocumentPageLayout.fromJson(
_json['layout'] as core.Map<core.String, core.dynamic>)
: null,
provenance: _json.containsKey('provenance')
? GoogleCloudDocumentaiV1beta3DocumentProvenance.fromJson(
_json['provenance'] as core.Map<core.String, core.dynamic>)
: null,
);