GoogleCloudDocumentaiV1DocumentPageDetectedBarcode.fromJson constructor

GoogleCloudDocumentaiV1DocumentPageDetectedBarcode.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentPageDetectedBarcode.fromJson(core.Map json_)
    : this(
        barcode: json_.containsKey('barcode')
            ? GoogleCloudDocumentaiV1Barcode.fromJson(
                json_['barcode'] as core.Map<core.String, core.dynamic>)
            : null,
        layout: json_.containsKey('layout')
            ? GoogleCloudDocumentaiV1DocumentPageLayout.fromJson(
                json_['layout'] as core.Map<core.String, core.dynamic>)
            : null,
      );