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:
21
lib/models/space_archive/space_archive.dart
Normal file
21
lib/models/space_archive/space_archive.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
import 'data.dart';
|
||||
|
||||
part 'space_archive.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class SpaceArchive {
|
||||
int? code;
|
||||
String? message;
|
||||
int? ttl;
|
||||
Data? data;
|
||||
|
||||
SpaceArchive({this.code, this.message, this.ttl, this.data});
|
||||
|
||||
factory SpaceArchive.fromJson(Map<String, dynamic> json) {
|
||||
return _$SpaceArchiveFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$SpaceArchiveToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user