GetNotebookExecutionJobRequest.fromJson constructor
GetNotebookExecutionJobRequest.fromJson(
- Object? j
Implementation
factory GetNotebookExecutionJobRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GetNotebookExecutionJobRequest(
name: switch (json['name']) {
null => '',
Object $1 => decodeString($1),
},
view: switch (json['view']) {
null => NotebookExecutionJobView.$default,
Object $1 => NotebookExecutionJobView.fromJson($1),
},
);
}