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