mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
Refactor member page (#3)
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
17
lib/models/space/coin_archive.dart
Normal file
17
lib/models/space/coin_archive.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'coin_archive.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class CoinArchive {
|
||||
int? count;
|
||||
List<dynamic>? item;
|
||||
|
||||
CoinArchive({this.count, this.item});
|
||||
|
||||
factory CoinArchive.fromJson(Map<String, dynamic> json) {
|
||||
return _$CoinArchiveFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$CoinArchiveToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user