mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
20 lines
380 B
Dart
20 lines
380 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'data.dart';
|
|
|
|
part 'space.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Space {
|
|
int? code;
|
|
String? message;
|
|
int? ttl;
|
|
Data? data;
|
|
|
|
Space({this.code, this.message, this.ttl, this.data});
|
|
|
|
factory Space.fromJson(Map<String, dynamic> json) => _$SpaceFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$SpaceToJson(this);
|
|
}
|