mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
25 lines
824 B
Dart
25 lines
824 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'space_article.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
SpaceArticle _$SpaceArticleFromJson(Map<String, dynamic> json) => SpaceArticle(
|
|
code: (json['code'] as num?)?.toInt(),
|
|
message: json['message'] as String?,
|
|
ttl: (json['ttl'] as num?)?.toInt(),
|
|
data: json['data'] == null
|
|
? null
|
|
: SpaceArticleData.fromJson(json['data'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$SpaceArticleToJson(SpaceArticle instance) =>
|
|
<String, dynamic>{
|
|
'code': instance.code,
|
|
'message': instance.message,
|
|
'ttl': instance.ttl,
|
|
'data': instance.data,
|
|
};
|