GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.fromJson constructor

GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.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,
        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,
      );