GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument.fromJson constructor

GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument.fromJson(
    core.Map json_)
    : this(
        document: json_.containsKey('document')
            ? GoogleCloudContentwarehouseV1Document.fromJson(
                json_['document'] as core.Map<core.String, core.dynamic>)
            : null,
        matchedTokenPageIndices:
            (json_['matchedTokenPageIndices'] as core.List?)
                ?.map((value) => value as core.String)
                .toList(),
        qaResult: json_.containsKey('qaResult')
            ? GoogleCloudContentwarehouseV1QAResult.fromJson(
                json_['qaResult'] as core.Map<core.String, core.dynamic>)
            : null,
        searchTextSnippet: json_['searchTextSnippet'] as core.String?,
      );