GoogleCloudDocumentaiV1DocumentPageTableTableCell.fromJson constructor

GoogleCloudDocumentaiV1DocumentPageTableTableCell.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentPageTableTableCell.fromJson(core.Map json_)
    : this(
        colSpan: json_.containsKey('colSpan')
            ? json_['colSpan'] as core.int
            : null,
        detectedLanguages: json_.containsKey('detectedLanguages')
            ? (json_['detectedLanguages'] as core.List)
                .map((value) =>
                    GoogleCloudDocumentaiV1DocumentPageDetectedLanguage
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        layout: json_.containsKey('layout')
            ? GoogleCloudDocumentaiV1DocumentPageLayout.fromJson(
                json_['layout'] as core.Map<core.String, core.dynamic>)
            : null,
        rowSpan: json_.containsKey('rowSpan')
            ? json_['rowSpan'] as core.int
            : null,
      );