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_['confidence'] as core.num?)?.toDouble(),
      layoutId: json_['layoutId'] as core.String?,
      layoutType: json_['layoutType'] as core.String?,
      page: json_['page'] as core.String?,
    );