GetPackageVersionHistoryResponse.fromJson constructor
GetPackageVersionHistoryResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetPackageVersionHistoryResponse.fromJson(Map<String, dynamic> json) {
return GetPackageVersionHistoryResponse(
nextToken: json['NextToken'] as String?,
packageID: json['PackageID'] as String?,
packageVersionHistoryList: (json['PackageVersionHistoryList'] as List?)
?.whereNotNull()
.map((e) => PackageVersionHistory.fromJson(e as Map<String, dynamic>))
.toList(),
);
}