mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
21 lines
468 B
Dart
21 lines
468 B
Dart
import 'package:PiliPlus/models/space_fav/datum.dart';
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'space_fav.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class SpaceFav {
|
|
int? code;
|
|
String? message;
|
|
int? ttl;
|
|
List<SpaceFavData>? 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);
|
|
}
|