VerticalFeedItemProductCardComponent.fromJson constructor
Implementation
factory VerticalFeedItemProductCardComponent.fromJson(
Map<String, dynamic> json) {
return VerticalFeedItemProductCardComponent(
type: json['type'],
id: json['id'],
customPayload: json['customPayload'],
text: json['text'],
actionUrl: json['actionUrl'],
products: List<STRProductItem>.from(
json['products'].map((x) => STRProductItem.fromJson(x))),
);
}