mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-08 11:07:41 +08:00
member audio
member comic Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
import 'package:PiliPlus/models_new/space/space_archive/item.dart';
|
||||
|
||||
class Comic {
|
||||
int? count;
|
||||
List<dynamic>? item;
|
||||
List<SpaceArchiveItem>? item;
|
||||
|
||||
Comic({this.count, this.item});
|
||||
|
||||
factory Comic.fromJson(Map<String, dynamic> json) => Comic(
|
||||
count: json['count'] as int?,
|
||||
item: json['item'] as List<dynamic>?,
|
||||
item: (json['item'] as List<dynamic>?)
|
||||
?.map((e) => SpaceArchiveItem.fromJson(e))
|
||||
.toList(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user