GoogleCloudDocumentaiV1beta1DocumentPageBlock.fromJson constructor
GoogleCloudDocumentaiV1beta1DocumentPageBlock.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta1DocumentPageBlock.fromJson(core.Map _json)
: this(
detectedLanguages: _json.containsKey('detectedLanguages')
? (_json['detectedLanguages'] as core.List)
.map<GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>(
(value) =>
GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
layout: _json.containsKey('layout')
? GoogleCloudDocumentaiV1beta1DocumentPageLayout.fromJson(
_json['layout'] as core.Map<core.String, core.dynamic>)
: null,
provenance: _json.containsKey('provenance')
? GoogleCloudDocumentaiV1beta1DocumentProvenance.fromJson(
_json['provenance'] as core.Map<core.String, core.dynamic>)
: null,
);