GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData.fromJson constructor

GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData.fromJson(
    core.Map json_)
    : this(
        testDocuments: json_.containsKey('testDocuments')
            ? GoogleCloudDocumentaiV1BatchDocumentsInputConfig.fromJson(
                json_['testDocuments'] as core.Map<core.String, core.dynamic>)
            : null,
        trainingDocuments: json_.containsKey('trainingDocuments')
            ? GoogleCloudDocumentaiV1BatchDocumentsInputConfig.fromJson(
                json_['trainingDocuments']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );