DescribeProductViewOutput.fromJson constructor
DescribeProductViewOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeProductViewOutput.fromJson(Map<String, dynamic> json) {
return DescribeProductViewOutput(
productViewSummary: json['ProductViewSummary'] != null
? ProductViewSummary.fromJson(
json['ProductViewSummary'] as Map<String, dynamic>)
: null,
provisioningArtifacts: (json['ProvisioningArtifacts'] as List?)
?.whereNotNull()
.map((e) => ProvisioningArtifact.fromJson(e as Map<String, dynamic>))
.toList(),
);
}