GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell.fromJson constructor

GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell.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) =>
                    GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        layout: _json.containsKey('layout')
            ? GoogleCloudDocumentaiV1beta3DocumentPageLayout.fromJson(
                _json['layout'] as core.Map<core.String, core.dynamic>)
            : null,
        rowSpan: _json.containsKey('rowSpan')
            ? _json['rowSpan'] as core.int
            : null,
      );