GoogleCloudAiplatformV1ListTrialsResponse.fromJson constructor

GoogleCloudAiplatformV1ListTrialsResponse.fromJson(
  1. Map json_
)

Implementation

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