NotebookExecutionJob_DirectNotebookSource.fromJson constructor

NotebookExecutionJob_DirectNotebookSource.fromJson(
  1. Object? j
)

Implementation

factory NotebookExecutionJob_DirectNotebookSource.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return NotebookExecutionJob_DirectNotebookSource(
    content: switch (json['content']) {
      null => Uint8List(0),
      Object $1 => decodeBytes($1),
    },
  );
}