GoogleCloudAiplatformV1ModelEvaluation.fromJson constructor

GoogleCloudAiplatformV1ModelEvaluation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ModelEvaluation.fromJson(core.Map json_)
    : this(
        annotationSchemaUri: json_['annotationSchemaUri'] as core.String?,
        createTime: json_['createTime'] as core.String?,
        dataItemSchemaUri: json_['dataItemSchemaUri'] as core.String?,
        displayName: json_['displayName'] as core.String?,
        explanationSpecs: (json_['explanationSpecs'] as core.List?)
            ?.map((value) =>
                GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec
                    .fromJson(value as core.Map<core.String, core.dynamic>))
            .toList(),
        metadata: json_['metadata'],
        metrics: json_['metrics'],
        metricsSchemaUri: json_['metricsSchemaUri'] as core.String?,
        modelExplanation: json_.containsKey('modelExplanation')
            ? GoogleCloudAiplatformV1ModelExplanation.fromJson(
                json_['modelExplanation']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_['name'] as core.String?,
        sliceDimensions: (json_['sliceDimensions'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );