mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
22 lines
434 B
Dart
22 lines
434 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'data.dart';
|
|
|
|
part 'space_article.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class SpaceArticle {
|
|
int? code;
|
|
String? message;
|
|
int? ttl;
|
|
Data? data;
|
|
|
|
SpaceArticle({this.code, this.message, this.ttl, this.data});
|
|
|
|
factory SpaceArticle.fromJson(Map<String, dynamic> json) {
|
|
return _$SpaceArticleFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$SpaceArticleToJson(this);
|
|
}
|