fix: reply model null error

This commit is contained in:
guozhigq
2024-10-24 00:35:32 +08:00
parent 96dc9ee230
commit 55ae549b98
2 changed files with 9 additions and 6 deletions

View File

@ -73,7 +73,7 @@ class ReplyCursor {
isEnd = json['is_end'];
mode = json['mode'];
modeText = json['mode_text'];
allCount = json['all_count'];
allCount = json['all_count'] ?? 0;
supportMode = json['support_mode'].cast<int>();
name = json['name'];
paginationReply = json['pagination_reply'] != null