GoogleCloudDocumentaiV1beta3DocumentPageLayout.fromJson constructor
GoogleCloudDocumentaiV1beta3DocumentPageLayout.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta3DocumentPageLayout.fromJson(core.Map _json)
: this(
boundingPoly: _json.containsKey('boundingPoly')
? GoogleCloudDocumentaiV1beta3BoundingPoly.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')
? GoogleCloudDocumentaiV1beta3DocumentTextAnchor.fromJson(
_json['textAnchor'] as core.Map<core.String, core.dynamic>)
: null,
);