// 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, tag: json['tag']as String, status: json['status'] as int, start: json['start']as num, end: json['end']as num, 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, '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, ); Map _$ContentToJson(Content instance) => { 'id': instance.id, 'content': instance.content, };