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
22 lines
418 B
Dart
22 lines
418 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'datum.dart';
|
|
|
|
part 'space_fav.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class SpaceFav {
|
|
int? code;
|
|
String? message;
|
|
int? ttl;
|
|
List<Datum>? data;
|
|
|
|
SpaceFav({this.code, this.message, this.ttl, this.data});
|
|
|
|
factory SpaceFav.fromJson(Map<String, dynamic> json) {
|
|
return _$SpaceFavFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$SpaceFavToJson(this);
|
|
}
|