GoogleCloudDocumentaiV1DocumentPageTable.fromJson constructor

GoogleCloudDocumentaiV1DocumentPageTable.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentPageTable.fromJson(core.Map json_)
    : this(
        bodyRows: (json_['bodyRows'] as core.List?)
            ?.map((value) =>
                GoogleCloudDocumentaiV1DocumentPageTableTableRow.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        detectedLanguages: (json_['detectedLanguages'] as core.List?)
            ?.map((value) =>
                GoogleCloudDocumentaiV1DocumentPageDetectedLanguage.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        headerRows: (json_['headerRows'] as core.List?)
            ?.map((value) =>
                GoogleCloudDocumentaiV1DocumentPageTableTableRow.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        layout: json_.containsKey('layout')
            ? GoogleCloudDocumentaiV1DocumentPageLayout.fromJson(
                json_['layout'] as core.Map<core.String, core.dynamic>)
            : null,
        provenance: json_.containsKey('provenance')
            ? GoogleCloudDocumentaiV1DocumentProvenance.fromJson(
                json_['provenance'] as core.Map<core.String, core.dynamic>)
            : null,
      );