GoogleCloudDocumentaiV1beta3ProcessRequest.fromJson constructor

GoogleCloudDocumentaiV1beta3ProcessRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta3ProcessRequest.fromJson(core.Map _json)
    : this(
        document: _json.containsKey('document')
            ? GoogleCloudDocumentaiV1beta3Document.fromJson(
                _json['document'] as core.Map<core.String, core.dynamic>)
            : null,
        inlineDocument: _json.containsKey('inlineDocument')
            ? GoogleCloudDocumentaiV1beta3Document.fromJson(
                _json['inlineDocument']
                    as core.Map<core.String, core.dynamic>)
            : null,
        rawDocument: _json.containsKey('rawDocument')
            ? GoogleCloudDocumentaiV1beta3RawDocument.fromJson(
                _json['rawDocument'] as core.Map<core.String, core.dynamic>)
            : null,
        skipHumanReview: _json.containsKey('skipHumanReview')
            ? _json['skipHumanReview'] as core.bool
            : null,
      );