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.
 
 
 
 
 
 

44 lines
1.6 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'rank.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Rank _$RankFromJson(Map<String, dynamic> 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<String, dynamic> _$RankToJson(Rank instance) => <String, dynamic>{
'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,
};