GoogleCloudDocumentaiV1DocumentPageSymbol.fromJson constructor

GoogleCloudDocumentaiV1DocumentPageSymbol.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentPageSymbol.fromJson(core.Map json_)
    : this(
        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,
      );