fix: parse reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-12 20:53:59 +08:00
parent 2f34ae7d45
commit 15f84712cd
3 changed files with 15 additions and 8 deletions

View File

@@ -28,7 +28,8 @@ class ReplyMember {
sign = json['sign'];
avatar = json['avatar'];
level = json['level_info']['current_level'];
pendant = Pendant.fromJson(json['pendant']);
pendant =
json['pendant'] == null ? null : Pendant.fromJson(json['pendant']);
officialVerify = json['official_verify'];
vip = json['vip'];
fansDetail = json['fans_detail'];