GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.fromJson constructor

GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.fromJson(core.Map json_)
  : this(
      chunkingConfig: json_.containsKey('chunkingConfig')
          ? GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig.fromJson(
              json_['chunkingConfig'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      enableImageAnnotation: json_['enableImageAnnotation'] as core.bool?,
      enableTableAnnotation: json_['enableTableAnnotation'] as core.bool?,
      returnBoundingBoxes: json_['returnBoundingBoxes'] as core.bool?,
      returnImages: json_['returnImages'] as core.bool?,
    );