bubble page

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-09 20:51:28 +08:00
parent db30aa8041
commit 222c9d01a0
22 changed files with 571 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
import 'package:PiliPlus/models_new/bubble/sort_item.dart';
class SortInfo {
bool? showSort;
List<SortItem>? sortItems;
int? curSortType;
SortInfo({
this.showSort,
this.sortItems,
this.curSortType,
});
factory SortInfo.fromJson(Map<String, dynamic> json) => SortInfo(
showSort: json['show_sort'] as bool?,
sortItems: (json['sort_items'] as List<dynamic>?)
?.map((e) => SortItem.fromJson(e as Map<String, dynamic>))
.toList(),
curSortType: json['cur_sort_type'] as int?,
);
}