// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'home.dart';

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

Home _$HomeFromJson(Map<String, dynamic> json) {
  return Home()
    ..banner = (json['banner'] as List)
        ?.map((e) =>
            e == null ? null : Banner.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..menus = (json['menus'] as List)
        ?.map(
            (e) => e == null ? null : Menu.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..roll = json['roll'] as List
    ..info = json['info'] == null
        ? null
        : HomeInfo.fromJson(json['info'] as Map<String, dynamic>)
    ..activity = (json['activity'] as List)
        ?.map((e) =>
            e == null ? null : Activity.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..lovely = json['lovely'] as List
    ..benefit = (json['benefit'] as List)
        ?.map((e) =>
            e == null ? null : Product.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..likeInfo = (json['likeInfo'] as List)
        ?.map((e) =>
            e == null ? null : Product.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..logoUrl = json['logoUrl'] as String
    ..couponList = json['couponList'] as List
    ..site_name = json['site_name'] as String
    ..subscribe = json['subscribe'] as bool
    ..newGoodsBananr = json['newGoodsBananr'] as String
    ..tengxun_map_key = json['tengxun_map_key'] as String
    ..explosive_money = json['explosive_money'] as List;
}

Map<String, dynamic> _$HomeToJson(Home instance) => <String, dynamic>{
      'banner': instance.banner,
      'menus': instance.menus,
      'roll': instance.roll,
      'info': instance.info,
      'activity': instance.activity,
      'lovely': instance.lovely,
      'benefit': instance.benefit,
      'likeInfo': instance.likeInfo,
      'logoUrl': instance.logoUrl,
      'couponList': instance.couponList,
      'site_name': instance.site_name,
      'subscribe': instance.subscribe,
      'newGoodsBananr': instance.newGoodsBananr,
      'tengxun_map_key': instance.tengxun_map_key,
      'explosive_money': instance.explosive_money
    };
