// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'details.dart';

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

Details _$DetailsFromJson(Map<String, dynamic> json) {
  return Details()
    ..uid = json['uid'] as num
    ..storeInfo = json['storeInfo'] == null
        ? null
        : StoreInfo.fromJson(json['storeInfo'] as Map<String, dynamic>)
    ..similarity = (json['similarity'] as List)
        ?.map((e) =>
            e == null ? null : Similarity.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..productAttr = (json['productAttr'] as List)
        ?.map((e) =>
            e == null ? null : ProductAttr.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..productValue = json['productValue']
    ..priceName = json['priceName']
    ..reply = json['reply'] == null
        ? null
        : Reply.fromJson(json['reply'] as Map<String, dynamic>)
    ..replyCount = json['replyCount'] as num
    ..replyChance = json['replyChance']
    ..mer_id = json['mer_id'] as num
    ..system_store = json['system_store'] as List
    ..good_list = (json['good_list'] as List)
        ?.map((e) =>
            e == null ? null : Product.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..mapKey = json['mapKey'] as String
    ..store_self_mention = json['store_self_mention'] as num
    ..activity = json['activity'] as List;
}

Map<String, dynamic> _$DetailsToJson(Details instance) => <String, dynamic>{
      'uid': instance.uid,
      'storeInfo': instance.storeInfo,
      'similarity': instance.similarity,
      'productAttr': instance.productAttr,
      'productValue': instance.productValue,
      'priceName': instance.priceName,
      'reply': instance.reply,
      'replyCount': instance.replyCount,
      'replyChance': instance.replyChance,
      'mer_id': instance.mer_id,
      'system_store': instance.system_store,
      'good_list': instance.good_list,
      'mapKey': instance.mapKey,
      'store_self_mention': instance.store_self_mention,
      'activity': instance.activity
    };
