GoogleCloudDocumentaiV1beta3DocumentPageVisualElement.fromJson constructor
GoogleCloudDocumentaiV1beta3DocumentPageVisualElement.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta3DocumentPageVisualElement.fromJson(core.Map _json)
: this(
detectedLanguages: _json.containsKey('detectedLanguages')
? (_json['detectedLanguages'] as core.List)
.map<GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage>(
(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,
type: _json.containsKey('type') ? _json['type'] as core.String : null,
);