GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata.fromJson constructor

GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata.fromJson(
    core.Map _json)
    : this(
        commonMetadata: _json.containsKey('commonMetadata')
            ? GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.fromJson(
                _json['commonMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        testDatasetValidation: _json.containsKey('testDatasetValidation')
            ? GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
                .fromJson(_json['testDatasetValidation']
                    as core.Map<core.String, core.dynamic>)
            : null,
        trainingDatasetValidation: _json
                .containsKey('trainingDatasetValidation')
            ? GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
                .fromJson(_json['trainingDatasetValidation']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );