feat: like count (#1640)

This commit is contained in:
My-Responsitories
2025-10-19 13:45:29 +08:00
committed by GitHub
parent 71a170deb5
commit 6e1ceb1277
7 changed files with 139 additions and 124 deletions

View File

@@ -11,9 +11,16 @@ class VideoDanmaku extends DanmakuExtra {
@override
final String mid;
int like;
bool isLike;
VideoDanmaku({required this.id, required this.mid, this.isLike = false});
VideoDanmaku({
required this.id,
required this.mid,
this.like = 0,
this.isLike = false,
});
}
class LiveDanmaku extends DanmakuExtra {