mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
19 lines
397 B
Dart
19 lines
397 B
Dart
import 'package:PiliPlus/models/space_archive/item.dart';
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'season.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Season {
|
|
int? count;
|
|
List<Item>? item;
|
|
|
|
Season({this.count, this.item});
|
|
|
|
factory Season.fromJson(Map<String, dynamic> json) {
|
|
return _$SeasonFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$SeasonToJson(this);
|
|
}
|