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