GoogleCloudDocumentaiV1ReviewDocumentRequest.fromJson constructor

GoogleCloudDocumentaiV1ReviewDocumentRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1ReviewDocumentRequest.fromJson(core.Map json_)
    : this(
        documentSchema: json_.containsKey('documentSchema')
            ? GoogleCloudDocumentaiV1DocumentSchema.fromJson(
                json_['documentSchema']
                    as core.Map<core.String, core.dynamic>)
            : null,
        enableSchemaValidation: json_.containsKey('enableSchemaValidation')
            ? json_['enableSchemaValidation'] as core.bool
            : null,
        inlineDocument: json_.containsKey('inlineDocument')
            ? GoogleCloudDocumentaiV1Document.fromJson(json_['inlineDocument']
                as core.Map<core.String, core.dynamic>)
            : null,
        priority: json_.containsKey('priority')
            ? json_['priority'] as core.String
            : null,
      );