ListNotebookExecutionJobsResponse.fromJson constructor
ListNotebookExecutionJobsResponse.fromJson(
- Object? j
Implementation
factory ListNotebookExecutionJobsResponse.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ListNotebookExecutionJobsResponse(
notebookExecutionJobs: switch (json['notebookExecutionJobs']) {
null => [],
List<Object?> $1 => [
for (final i in $1) NotebookExecutionJob.fromJson(i),
],
_ => throw const FormatException(
'"notebookExecutionJobs" is not a list',
),
},
nextPageToken: switch (json['nextPageToken']) {
null => '',
Object $1 => decodeString($1),
},
);
}