GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse.fromJson constructor

GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse.fromJson(
    core.Map json_)
    : this(
        modelEvaluationSlices: json_.containsKey('modelEvaluationSlices')
            ? (json_['modelEvaluationSlices'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1ModelEvaluationSlice.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );