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