GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.fromJson constructor

GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.fromJson(
    core.Map json_)
    : this(
        blockId: json_.containsKey('blockId')
            ? json_['blockId'] as core.String
            : null,
        listBlock: json_.containsKey('listBlock')
            ? GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
                .fromJson(
                    json_['listBlock'] as core.Map<core.String, core.dynamic>)
            : null,
        pageSpan: json_.containsKey('pageSpan')
            ? GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan
                .fromJson(
                    json_['pageSpan'] as core.Map<core.String, core.dynamic>)
            : null,
        tableBlock: json_.containsKey('tableBlock')
            ? GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
                .fromJson(json_['tableBlock']
                    as core.Map<core.String, core.dynamic>)
            : null,
        textBlock: json_.containsKey('textBlock')
            ? GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
                .fromJson(
                    json_['textBlock'] as core.Map<core.String, core.dynamic>)
            : null,
      );