GoogleCloudDocumentaiV1beta3ReviewDocumentRequest.fromJson constructor

GoogleCloudDocumentaiV1beta3ReviewDocumentRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta3ReviewDocumentRequest.fromJson(core.Map _json)
    : this(
        document: _json.containsKey('document')
            ? GoogleCloudDocumentaiV1beta3Document.fromJson(
                _json['document'] as core.Map<core.String, core.dynamic>)
            : null,
        enableSchemaValidation: _json.containsKey('enableSchemaValidation')
            ? _json['enableSchemaValidation'] as core.bool
            : null,
        inlineDocument: _json.containsKey('inlineDocument')
            ? GoogleCloudDocumentaiV1beta3Document.fromJson(
                _json['inlineDocument']
                    as core.Map<core.String, core.dynamic>)
            : null,
        priority: _json.containsKey('priority')
            ? _json['priority'] as core.String
            : null,
      );