// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'user_info_model.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

UserInfoModel _$UserInfoModelFromJson(Map<String, dynamic> 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 int,
      end: json['end']as int,
      contentCon:(json['content_con'] as List<dynamic>?)
          ?.map((e) => Content.fromJson(e as Map<String, dynamic>))
          .toList(),
          contentRef:(json['content_ref'] as List<dynamic>?)
              ?.map((e) => Content.fromJson(e as Map<String, dynamic>))
              .toList(),
    );

Map<String, dynamic> _$UserInfoModelToJson(UserInfoModel instance) =>
    <String, dynamic>{
      '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<String, dynamic> json) => Content(
      id: json['id'] as int,
      content: json['content'] as String,
      isChecked: json['is_checked'] as int,
);

Map<String, dynamic> _$ContentToJson(Content instance) => <String, dynamic>{
      'id': instance.id,
      'content': instance.content,
      'is_checked':instance.isChecked,
};