CreateProductOutput.fromJson constructor
CreateProductOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateProductOutput.fromJson(Map<String, dynamic> json) {
return CreateProductOutput(
productViewDetail: json['ProductViewDetail'] != null
? ProductViewDetail.fromJson(
json['ProductViewDetail'] as Map<String, dynamic>)
: null,
provisioningArtifactDetail: json['ProvisioningArtifactDetail'] != null
? ProvisioningArtifactDetail.fromJson(
json['ProvisioningArtifactDetail'] as Map<String, dynamic>)
: null,
tags: (json['Tags'] as List?)
?.whereNotNull()
.map((e) => Tag.fromJson(e as Map<String, dynamic>))
.toList(),
);
}