opt handle res

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-29 17:17:35 +08:00
parent b643cb1bd0
commit 924d51d41b
198 changed files with 3715 additions and 2001 deletions

View File

@@ -1,3 +1,5 @@
import 'package:PiliPlus/models/model_avatar.dart';
class FollowDataModel {
FollowDataModel({
this.total,
@@ -37,7 +39,7 @@ class FollowItemModel {
String? uname;
String? face;
String? sign;
Map? officialVerify;
BaseOfficialVerify? officialVerify;
FollowItemModel.fromJson(Map<String, dynamic> json) {
mid = json['mid'];
@@ -48,6 +50,8 @@ class FollowItemModel {
uname = json['uname'];
face = json['face'];
sign = json['sign'] == '' ? '还没有签名' : json['sign'];
officialVerify = json['official_verify'];
officialVerify = json['official_verify'] == null
? null
: BaseOfficialVerify.fromJson(json['official_verify']);
}
}