// GENERATED CODE - DO NOT MODIFY BY HAND part of 'rank.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Rank _$RankFromJson(Map json) => Rank() ..createTime = json['createTime'] as String? ..createUser = json['createUser'] ..id = json['id'] ..price = json['price'] as String? ..rankContent = json['rankContent'] as String? ..rankImg = json['rankImg'] as String? ..rankName = json['rankName'] as String? ..rankOrigin = (json['rankOrigin'] as num?)?.toInt() ..status = json['status'] as bool? ..updateTime = json['updateTime'] as String? ..updateUser = json['updateUser'] ..level = (json['level'] as num?)?.toInt() ..color = json['color'] as String? ..textColor = json['textColor'] as String? ..originScore = (json['originScore'] as num?)?.toInt() ..demotionScore = (json['demotionScore'] as num?)?.toInt(); Map _$RankToJson(Rank instance) => { 'createTime': instance.createTime, 'createUser': instance.createUser, 'id': instance.id, 'price': instance.price, 'rankContent': instance.rankContent, 'rankImg': instance.rankImg, 'rankName': instance.rankName, 'rankOrigin': instance.rankOrigin, 'status': instance.status, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'level': instance.level, 'color': instance.color, 'textColor': instance.textColor, 'originScore': instance.originScore, 'demotionScore': instance.demotionScore, };