ProductViewDetail.fromJson constructor
Implementation
factory ProductViewDetail.fromJson(Map<String, dynamic> json) {
return ProductViewDetail(
createdTime: timeStampFromJson(json['CreatedTime']),
productARN: json['ProductARN'] as String?,
productViewSummary: json['ProductViewSummary'] != null
? ProductViewSummary.fromJson(
json['ProductViewSummary'] as Map<String, dynamic>)
: null,
status: (json['Status'] as String?)?.toStatus(),
);
}