DescribeProjectsResponse.fromJson constructor

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

Implementation

factory DescribeProjectsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeProjectsResponse(
    nextToken: json['NextToken'] as String?,
    projectDescriptions: (json['ProjectDescriptions'] as List?)
        ?.whereNotNull()
        .map((e) => ProjectDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}