mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 10:06:23 +08:00
16 lines
425 B
Dart
16 lines
425 B
Dart
import 'package:PiliPlus/models_new/space/space_archive/item.dart';
|
|
|
|
class SpaceSeason {
|
|
int? count;
|
|
List<SpaceArchiveItem>? item;
|
|
|
|
SpaceSeason({this.count, this.item});
|
|
|
|
factory SpaceSeason.fromJson(Map<String, dynamic> json) => SpaceSeason(
|
|
count: json['count'] as int?,
|
|
item: (json['item'] as List<dynamic>?)
|
|
?.map((e) => SpaceArchiveItem.fromJson(e))
|
|
.toList(),
|
|
);
|
|
}
|