ListNotebookInstanceLifecycleConfigsOutput.fromJson constructor

ListNotebookInstanceLifecycleConfigsOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListNotebookInstanceLifecycleConfigsOutput.fromJson(
    Map<String, dynamic> json) {
  return ListNotebookInstanceLifecycleConfigsOutput(
    nextToken: json['NextToken'] as String?,
    notebookInstanceLifecycleConfigs:
        (json['NotebookInstanceLifecycleConfigs'] as List?)
            ?.whereNotNull()
            .map((e) => NotebookInstanceLifecycleConfigSummary.fromJson(
                e as Map<String, dynamic>))
            .toList(),
  );
}