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