DescribePackagesResponse.fromJson constructor
Implementation
factory DescribePackagesResponse.fromJson(Map<String, dynamic> json) {
return DescribePackagesResponse(
nextToken: json['NextToken'] as String?,
packageDetailsList: (json['PackageDetailsList'] as List?)
?.whereNotNull()
.map((e) => PackageDetails.fromJson(e as Map<String, dynamic>))
.toList(),
);
}