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