VerticalFeedGroup.fromJson constructor

VerticalFeedGroup.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory VerticalFeedGroup.fromJson(Map<String, dynamic> json) {
  return VerticalFeedGroup(
    seen: json['seen'],
    title: json['title'],
    index: json['index'],
    iconUrl: json['iconUrl'],
    feedList: List<VerticalFeedItem>.from(
        json['feedList'].map((x) => VerticalFeedItem.fromJson(x))),
    id: json['id'],
    pinned: json['pinned'],
    type: json['type'],
    name: json['name'],
    nudge: json['nudge'],
  );
}