GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse.fromJson constructor

GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse.fromJson(
  1. Map json_
)

Implementation

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