mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -5,7 +5,7 @@ import 'category.dart';
|
||||
import 'media.dart';
|
||||
import 'stats.dart';
|
||||
|
||||
class Item {
|
||||
class SpaceArticleItem {
|
||||
int? id;
|
||||
Category? category;
|
||||
List<Category>? categories;
|
||||
@@ -56,7 +56,7 @@ class Item {
|
||||
String? dynIdStr;
|
||||
int? totalArtNum;
|
||||
|
||||
Item.fromJson(Map<String, dynamic> json) {
|
||||
SpaceArticleItem.fromJson(Map<String, dynamic> json) {
|
||||
id = json["id"];
|
||||
category =
|
||||
json["category"] == null ? null : Category.fromJson(json["category"]);
|
||||
|
||||
Reference in New Issue
Block a user