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.
32 lines
1.1 KiB
32 lines
1.1 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'sign_info.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
SignInfo _$SignInfoFromJson(Map<String, dynamic> json) { |
|
return SignInfo() |
|
..point = json['point'] as String |
|
..rank = json['rank'] == null |
|
? null |
|
: MemberRank.fromJson(json['rank'] as Map<String, dynamic>) |
|
..signInList = (json['signInList'] as List) |
|
?.map((e) => |
|
e == null ? null : SignIn.fromJson(e as Map<String, dynamic>)) |
|
?.toList() |
|
..taskList = (json['taskList'] as List) |
|
?.map( |
|
(e) => e == null ? null : Task.fromJson(e as Map<String, dynamic>)) |
|
?.toList() |
|
..rewardList = (json['rewardList'] as List)?.map((e) => e as int)?.toList(); |
|
} |
|
|
|
Map<String, dynamic> _$SignInfoToJson(SignInfo instance) => <String, dynamic>{ |
|
'point': instance.point, |
|
'rank': instance.rank, |
|
'signInList': instance.signInList, |
|
'taskList': instance.taskList, |
|
'rewardList': instance.rewardList, |
|
};
|
|
|