clean up models

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-05 12:10:18 +08:00
parent b897103af0
commit 279f21857d
308 changed files with 156 additions and 6243 deletions

View File

@@ -1,19 +1,13 @@
import 'package:PiliPlus/models_new/video/video_detail/stat_detail.dart';
class PgcStat extends StatDetail {
int? favorites;
String? followText;
PgcStat.fromJson(Map<String, dynamic> json) {
coin = json["coins"] ?? 0;
danmaku = json["danmakus"];
favorite = json["favorite"] ?? 0;
favorites = json["favorites"];
followText = json["follow_text"];
like = json["likes"] ?? 0;
reply = json["reply"];
share = json["share"];
view = json["views"];
vt = json["vt"];
}
}