ListProjectsOutput.fromJson constructor

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

Implementation

factory ListProjectsOutput.fromJson(Map<String, dynamic> json) {
  return ListProjectsOutput(
    projectSummaryList: (json['ProjectSummaryList'] as List)
        .whereNotNull()
        .map((e) => ProjectSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}