GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.fromJson constructor
GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.fromJson(
- Map _json
Implementation
GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef.fromJson(core.Map _json)
: this(
boundingPoly: _json.containsKey('boundingPoly')
? GoogleCloudDocumentaiV1beta1BoundingPoly.fromJson(
_json['boundingPoly'] as core.Map<core.String, core.dynamic>)
: null,
confidence: _json.containsKey('confidence')
? (_json['confidence'] as core.num).toDouble()
: null,
layoutId: _json.containsKey('layoutId')
? _json['layoutId'] as core.String
: null,
layoutType: _json.containsKey('layoutType')
? _json['layoutType'] as core.String
: null,
page: _json.containsKey('page') ? _json['page'] as core.String : null,
);