GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse.fromJson constructor

GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse.fromJson(
  1. Map _json
)

Implementation

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