ListNotebookRuntimeTemplatesResponse.fromJson constructor

ListNotebookRuntimeTemplatesResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListNotebookRuntimeTemplatesResponse.fromJson(
  Map<String, dynamic> json,
) {
  return ListNotebookRuntimeTemplatesResponse(
    notebookRuntimeTemplates:
        decodeListMessage(
          json['notebookRuntimeTemplates'],
          NotebookRuntimeTemplate.fromJson,
        ) ??
        [],
    nextPageToken: json['nextPageToken'] ?? '',
  );
}