opt live follow list

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-19 21:29:00 +08:00
parent d80324655e
commit 5bcd822251
2 changed files with 31 additions and 9 deletions

View File

@@ -2,12 +2,10 @@ import 'package:PiliPlus/models_new/live/live_feed_index/card_data_list_item.dar
class CardDataItem {
List<CardLiveItem>? list;
dynamic topView;
ExtraInfo? extraInfo;
CardDataItem({
this.list,
this.topView,
this.extraInfo,
});
@@ -15,7 +13,6 @@ class CardDataItem {
list: (json['list'] as List<dynamic>?)
?.map((e) => CardLiveItem.fromJson(e as Map<String, dynamic>))
.toList(),
topView: json['top_view'] as dynamic,
extraInfo: json['extra_info'] == null
? null
: ExtraInfo.fromJson(json['extra_info'] as Map<String, dynamic>),