// GENERATED CODE - DO NOT MODIFY BY HAND part of 'sign_info.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** SignInfo _$SignInfoFromJson(Map json) => SignInfo() ..point = json['point'] as String? ..todayHasSignin = json['todayHasSignin'] as bool? ..rank = json['rank'] == null ? null : MemberRank.fromJson(json['rank'] as Map) ..signInList = (json['signInList'] as List?) ?.map((e) => SignIn.fromJson(e as Map)) .toList() ..taskList = (json['taskList'] as List?) ?.map((e) => Task.fromJson(e as Map)) .toList() ..rewardList = (json['rewardList'] as List?) ?.map((e) => (e as num).toInt()) .toList(); Map _$SignInfoToJson(SignInfo instance) => { 'point': instance.point, 'todayHasSignin': instance.todayHasSignin, 'rank': instance.rank?.toJson(), 'signInList': instance.signInList?.map((e) => e.toJson()).toList(), 'taskList': instance.taskList?.map((e) => e.toJson()).toList(), 'rewardList': instance.rewardList, };