// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'character_info.dart';

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

CharacterInfo _$CharacterInfoFromJson(Map<String, dynamic> json) =>
    CharacterInfo(
      id: json['id'] as String?,
      name: json['name'] as String?,
      imageUrl: json['imageUrl'] as String?,
      description: json['description'] as String?,
      emoji: json['emoji'] as String?,
      isVip: json['isVip'] as bool?,
      isLock: json['isLock'] as bool?,
      isAdd: json['isAdd'] as bool?,
      hobbies:
          (json['hobbies'] as List<dynamic>?)?.map((e) => e as String).toList(),
      characters:
          (json['characters'] as List<dynamic>?)
              ?.map((e) => e as String)
              .toList(),
      birthday: json['birthday'] as String?,
      gender: (json['gender'] as num?)?.toInt(),
    );

Map<String, dynamic> _$CharacterInfoToJson(CharacterInfo instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'imageUrl': instance.imageUrl,
      'description': instance.description,
      'emoji': instance.emoji,
      'isVip': instance.isVip,
      'isLock': instance.isLock,
      'isAdd': instance.isAdd,
      'hobbies': instance.hobbies,
      'characters': instance.characters,
      'birthday': instance.birthday,
      'gender': instance.gender,
    };
