GoogleCloudDocumentaiV1EvaluationCounters.fromJson constructor

GoogleCloudDocumentaiV1EvaluationCounters.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1EvaluationCounters.fromJson(core.Map json_)
    : this(
        evaluatedDocumentsCount: json_.containsKey('evaluatedDocumentsCount')
            ? json_['evaluatedDocumentsCount'] as core.int
            : null,
        failedDocumentsCount: json_.containsKey('failedDocumentsCount')
            ? json_['failedDocumentsCount'] as core.int
            : null,
        inputDocumentsCount: json_.containsKey('inputDocumentsCount')
            ? json_['inputDocumentsCount'] as core.int
            : null,
        invalidDocumentsCount: json_.containsKey('invalidDocumentsCount')
            ? json_['invalidDocumentsCount'] as core.int
            : null,
      );