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