// GENERATED CODE - DO NOT MODIFY BY HAND part of 'achivement_detail_list.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** AchivementDetailList _$AchivementDetailListFromJson( Map 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?) ?.map((e) => RewardList.fromJson(e as Map)) .toList() ..max = json['max'] as bool? ..get = json['get'] as bool?; Map _$AchivementDetailListToJson( AchivementDetailList instance) => { '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 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 _$RewardListToJson(RewardList instance) => { '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, };