toJson method
Implementation
@override
Object toJson() {
return {
'parent': parent,
'notebookRuntimeTemplate': notebookRuntimeTemplate,
if (notebookRuntime != null) 'notebookRuntime': notebookRuntime!.toJson(),
if (notebookRuntimeId.isNotDefault)
'notebookRuntimeId': notebookRuntimeId,
};
}