GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.fromJson constructor

GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.fromJson(
    core.Map json_)
    : this(
        bodyRows: json_.containsKey('bodyRows')
            ? (json_['bodyRows'] as core.List)
                .map((value) =>
                    GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        caption: json_.containsKey('caption')
            ? json_['caption'] as core.String
            : null,
        headerRows: json_.containsKey('headerRows')
            ? (json_['headerRows'] as core.List)
                .map((value) =>
                    GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );