mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 02:26:52 +08:00
30 lines
653 B
Dart
30 lines
653 B
Dart
class FavTopicItem {
|
|
int? id;
|
|
String? name;
|
|
int? view;
|
|
int? discuss;
|
|
String? jumpUrl;
|
|
String? statDesc;
|
|
bool? showInteractData;
|
|
|
|
FavTopicItem({
|
|
this.id,
|
|
this.name,
|
|
this.view,
|
|
this.discuss,
|
|
this.jumpUrl,
|
|
this.statDesc,
|
|
this.showInteractData,
|
|
});
|
|
|
|
factory FavTopicItem.fromJson(Map<String, dynamic> json) => FavTopicItem(
|
|
id: json['id'] as int?,
|
|
name: json['name'] as String?,
|
|
view: json['view'] as int?,
|
|
discuss: json['discuss'] as int?,
|
|
jumpUrl: json['jump_url'] as String?,
|
|
statDesc: json['stat_desc'] as String?,
|
|
showInteractData: json['show_interact_data'] as bool?,
|
|
);
|
|
}
|