opt: up panel

Closes #513

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-25 16:47:56 +08:00
parent 6ab8e5925e
commit 4879701008
2 changed files with 29 additions and 20 deletions

View File

@@ -10,8 +10,9 @@ class FollowDataModel {
FollowDataModel.fromJson(Map<String, dynamic> json) {
total = json['total'] ?? 0;
list = (json['list'] as List?)
?.map<FollowItemModel>((e) => FollowItemModel.fromJson(e))
.toList();
?.map<FollowItemModel>((e) => FollowItemModel.fromJson(e))
.toList() ??
[];
}
}