mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
40 lines
1.3 KiB
Dart
40 lines
1.3 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'file.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
EhFileBasic _$EhFileBasicFromJson(Map<String, dynamic> json) => EhFileBasic(
|
|
id: (json['id'] as num).toInt(),
|
|
width: (json['width'] as num).toInt(),
|
|
height: (json['height'] as num).toInt(),
|
|
isOriginal: json['is_original'] as bool,
|
|
);
|
|
|
|
Map<String, dynamic> _$EhFileBasicToJson(EhFileBasic instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'width': instance.width,
|
|
'height': instance.height,
|
|
'is_original': instance.isOriginal,
|
|
};
|
|
|
|
EhFileExtend _$EhFileExtendFromJson(Map<String, dynamic> json) => EhFileExtend(
|
|
id: (json['id'] as num).toInt(),
|
|
width: (json['width'] as num).toInt(),
|
|
height: (json['height'] as num).toInt(),
|
|
isOriginal: json['is_original'] as bool,
|
|
token: json['token'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$EhFileExtendToJson(EhFileExtend instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'width': instance.width,
|
|
'height': instance.height,
|
|
'is_original': instance.isOriginal,
|
|
'token': instance.token,
|
|
};
|