Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -20,17 +20,18 @@ class Card {
});
factory Card.fromJson(Map<String, dynamic> json) => Card(
mid: json['mid'] as String?,
name: json['name'] as String?,
face: json['face'] as String?,
fans: json['fans'] as int?,
attention: json['attention'] as int?,
officialVerify: json['official_verify'] == null
? null
: BaseOfficialVerify.fromJson(
json['official_verify'] as Map<String, dynamic>),
vip: json['vip'] == null
? null
: Vip.fromJson(json['vip'] as Map<String, dynamic>),
);
mid: json['mid'] as String?,
name: json['name'] as String?,
face: json['face'] as String?,
fans: json['fans'] as int?,
attention: json['attention'] as int?,
officialVerify: json['official_verify'] == null
? null
: BaseOfficialVerify.fromJson(
json['official_verify'] as Map<String, dynamic>,
),
vip: json['vip'] == null
? null
: Vip.fromJson(json['vip'] as Map<String, dynamic>),
);
}