toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  'parent': parent,
  if (notebookExecutionJob case final notebookExecutionJob?)
    'notebookExecutionJob': notebookExecutionJob.toJson(),
  if (notebookExecutionJobId.isNotDefault)
    'notebookExecutionJobId': notebookExecutionJobId,
};