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

@@ -6,16 +6,17 @@ import 'list.dart';
part 'data.g.dart';
@JsonSerializable()
class Data {
class SpaceArticleData {
int? count;
List<Item>? item;
List<SpaceArticleItem>? item;
@JsonKey(name: 'lists_count')
int? listsCount;
List<ArticleList>? lists;
Data({this.count, this.item, this.listsCount, this.lists});
SpaceArticleData({this.count, this.item, this.listsCount, this.lists});
factory Data.fromJson(Map<String, dynamic> json) => _$DataFromJson(json);
factory SpaceArticleData.fromJson(Map<String, dynamic> json) =>
_$DataFromJson(json);
Map<String, dynamic> toJson() => _$DataToJson(this);
}