DescribeProjectVersionsResponse.fromJson constructor

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

Implementation

factory DescribeProjectVersionsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeProjectVersionsResponse(
    nextToken: json['NextToken'] as String?,
    projectVersionDescriptions: (json['ProjectVersionDescriptions'] as List?)
        ?.whereNotNull()
        .map((e) =>
            ProjectVersionDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}