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