refa: dir

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-03 13:57:47 +08:00
parent 57fa8b4f3e
commit 7f70ee5045
260 changed files with 748 additions and 967 deletions

View File

@@ -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"]);