GoogleCloudDocumentaiV1DocumentPageLayout.fromJson constructor
GoogleCloudDocumentaiV1DocumentPageLayout.fromJson(
- Map json_
Implementation
GoogleCloudDocumentaiV1DocumentPageLayout.fromJson(core.Map json_)
: this(
boundingPoly: json_.containsKey('boundingPoly')
? GoogleCloudDocumentaiV1BoundingPoly.fromJson(
json_['boundingPoly'] as core.Map<core.String, core.dynamic>)
: null,
confidence: json_.containsKey('confidence')
? (json_['confidence'] as core.num).toDouble()
: null,
orientation: json_.containsKey('orientation')
? json_['orientation'] as core.String
: null,
textAnchor: json_.containsKey('textAnchor')
? GoogleCloudDocumentaiV1DocumentTextAnchor.fromJson(
json_['textAnchor'] as core.Map<core.String, core.dynamic>)
: null,
);