VerticalFeedItemSwipeActionComponent.fromJson constructor
Implementation
factory VerticalFeedItemSwipeActionComponent.fromJson(
Map<String, dynamic> json) {
return VerticalFeedItemSwipeActionComponent(
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))),
);
}