// GENERATED CODE - DO NOT MODIFY BY HAND part of 'user_info_model.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** UserInfoModel _$UserInfoModelFromJson(Map json) => UserInfoModel( id: json['id'] as int, name: json['name'] as String, phone: json['phone'] as String, isVip: json['is_vip'] as int, isTrial: json['is_trial'] as int, tag: json['tag']as String, status: json['status'] as int, start: json['start']as int, end: json['end']as int, contentCon:(json['content_con'] as List?) ?.map((e) => Content.fromJson(e as Map)) .toList(), contentRef:(json['content_ref'] as List?) ?.map((e) => Content.fromJson(e as Map)) .toList(), ); Map _$UserInfoModelToJson(UserInfoModel instance) => { 'id': instance.id, 'name': instance.name, 'phone': instance.phone, 'is_vip':instance.isVip, 'is_trial':instance.isTrial, 'tag':instance.tag, 'status': instance.status, 'start':instance.start, 'end':instance.end, 'content_con':instance.contentCon, 'content_ref':instance.contentRef, }; Content _$ContentFromJson(Map json) => Content( id: json['id'] as int, content: json['content'] as String, isChecked: json['is_checked'] as int, ); Map _$ContentToJson(Content instance) => { 'id': instance.id, 'content': instance.content, 'is_checked':instance.isChecked, };