GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse.fromJson constructor

GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse.fromJson(
    core.Map _json)
    : this(
        responses: _json.containsKey('responses')
            ? (_json['responses'] as core.List)
                .map<GoogleCloudDocumentaiV1beta2ProcessDocumentResponse>(
                    (value) =>
                        GoogleCloudDocumentaiV1beta2ProcessDocumentResponse
                            .fromJson(
                                value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );