You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

84 lines
3.3 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'achivement_detail_list.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
AchivementDetailList _$AchivementDetailListFromJson(
Map<String, dynamic> json) =>
AchivementDetailList()
..id = json['id'] as String?
..createTime = json['createTime'] as String?
..createUser = json['createUser'] as String?
..updateTime = json['updateTime'] as String?
..updateUser = json['updateUser'] as String?
..categoryId = json['categoryId'] as String?
..name = json['name'] as String?
..level = (json['level'] as num?)?.toInt()
..icon = json['icon'] as String?
..score = (json['score'] as num?)?.toInt()
..actived = json['actived'] as bool?
..sort = (json['sort'] as num?)?.toInt()
..isDelete = (json['isDelete'] as num?)?.toInt()
..lessScore = json['lessScore'] as String?
..rewardList = (json['rewardList'] as List<dynamic>?)
?.map((e) => RewardList.fromJson(e as Map<String, dynamic>))
.toList()
..max = json['max'] as bool?
..get = json['get'] as bool?;
Map<String, dynamic> _$AchivementDetailListToJson(
AchivementDetailList instance) =>
<String, dynamic>{
'id': instance.id,
'createTime': instance.createTime,
'createUser': instance.createUser,
'updateTime': instance.updateTime,
'updateUser': instance.updateUser,
'categoryId': instance.categoryId,
'name': instance.name,
'level': instance.level,
'icon': instance.icon,
'score': instance.score,
'actived': instance.actived,
'sort': instance.sort,
'isDelete': instance.isDelete,
'lessScore': instance.lessScore,
'rewardList': instance.rewardList?.map((e) => e.toJson()).toList(),
'max': instance.max,
'get': instance.get,
};
RewardList _$RewardListFromJson(Map<String, dynamic> json) => RewardList()
..id = json['id'] as String?
..createTime = json['createTime'] as String?
..createUser = json['createUser'] as String?
..updateTime = json['updateTime'] as String?
..updateUser = json['updateUser'] as String?
..categoryId = json['categoryId'] as String?
..achievementId = json['achievementId'] as String?
..rewardType = (json['rewardType'] as num?)?.toInt()
..refId = json['refId'] as String?
..isDelete = (json['isDelete'] as num?)?.toInt()
..achievementCategoryName = json['achievementCategoryName']
..achievementName = json['achievementName']
..couponName = json['couponName'];
Map<String, dynamic> _$RewardListToJson(RewardList instance) =>
<String, dynamic>{
'id': instance.id,
'createTime': instance.createTime,
'createUser': instance.createUser,
'updateTime': instance.updateTime,
'updateUser': instance.updateUser,
'categoryId': instance.categoryId,
'achievementId': instance.achievementId,
'rewardType': instance.rewardType,
'refId': instance.refId,
'isDelete': instance.isDelete,
'achievementCategoryName': instance.achievementCategoryName,
'achievementName': instance.achievementName,
'couponName': instance.couponName,
};