GoogleCloudAiplatformV1ModelEvaluationSlice.fromJson constructor

GoogleCloudAiplatformV1ModelEvaluationSlice.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ModelEvaluationSlice.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        metrics: json_.containsKey('metrics') ? json_['metrics'] : null,
        metricsSchemaUri: json_.containsKey('metricsSchemaUri')
            ? json_['metricsSchemaUri'] as core.String
            : null,
        modelExplanation: json_.containsKey('modelExplanation')
            ? GoogleCloudAiplatformV1ModelExplanation.fromJson(
                json_['modelExplanation']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        slice: json_.containsKey('slice')
            ? GoogleCloudAiplatformV1ModelEvaluationSliceSlice.fromJson(
                json_['slice'] as core.Map<core.String, core.dynamic>)
            : null,
      );