36 lines
1.2 KiB
Dart
36 lines
1.2 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'recommend_bean.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
RecommendBean _$RecommendBeanFromJson(Map<String, dynamic> json) =>
|
|
RecommendBean(
|
|
(json['id'] as num?)?.toInt(),
|
|
json['bgImage'] as String?,
|
|
json['name'] as String?,
|
|
json['biography'] as String?,
|
|
(json['gender'] as num?)?.toInt(),
|
|
(json['label'] as List<dynamic>?)
|
|
?.map((e) => LabelBean.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
json['imageUrl'] as String?,
|
|
json['actionType'] as String?,
|
|
json['actionId'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> _$RecommendBeanToJson(RecommendBean instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'bgImage': instance.bgImage,
|
|
'name': instance.name,
|
|
'biography': instance.biography,
|
|
'gender': instance.gender,
|
|
'label': instance.label?.map((e) => e.toJson()).toList(),
|
|
'imageUrl': instance.imageUrl,
|
|
'actionType': instance.actionType,
|
|
'actionId': instance.actionId,
|
|
};
|