// GENERATED CODE - DO NOT MODIFY BY HAND part of 'home_rank.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** HomeRank _$HomeRankFromJson(Map json) => HomeRank() ..CommodityList = (json['CommodityList'] as List?) ?.map((e) => Commoditys.fromJson(e as Map)) .toList() ..CommodityZone = (json['CommodityZone'] as List?) ?.map((e) => CommodityZones.fromJson(e as Map)) .toList() ..CommodityListImg = json['CommodityListImg'] as String?; Map _$HomeRankToJson(HomeRank instance) => { 'CommodityList': instance.CommodityList?.map((e) => e.toJson()).toList(), 'CommodityZone': instance.CommodityZone?.map((e) => e.toJson()).toList(), 'CommodityListImg': instance.CommodityListImg, }; Commoditys _$CommoditysFromJson(Map json) => Commoditys() ..goodList = (json['goodList'] as List?) ?.map((e) => GoodList.fromJson(e as Map)) .toList() ..typeName = json['typeName'] as String?; Map _$CommoditysToJson(Commoditys instance) => { 'goodList': instance.goodList?.map((e) => e.toJson()).toList(), 'typeName': instance.typeName, }; CommodityZones _$CommodityZonesFromJson(Map json) => CommodityZones() ..productImg = json['productImg'] as String? ..productSkuVOList = (json['productSkuVOList'] as List?) ?.map((e) => ProductSkuVOList.fromJson(e as Map)) .toList() ..thumbnailImg = json['thumbnailImg'] as String? ..productName = json['productName'] as String? ..posShow = json['posShow'] as bool? ..price = json['price'] as String? ..sellCount = (json['sellCount'] as num?)?.toInt() ..details = json['details'] as String? ..id = json['id'] as String? ..applyPrice = json['applyPrice'] as String? ..stock = (json['stock'] as num?)?.toInt() ..status = (json['status'] as num?)?.toInt() ..info = json['info'] as String? ..storeId = json['storeId'] as String? ..tenantCode = json['tenantCode'] as String?; Map _$CommodityZonesToJson(CommodityZones instance) => { 'productImg': instance.productImg, 'productSkuVOList': instance.productSkuVOList?.map((e) => e.toJson()).toList(), 'thumbnailImg': instance.thumbnailImg, 'productName': instance.productName, 'posShow': instance.posShow, 'price': instance.price, 'sellCount': instance.sellCount, 'details': instance.details, 'id': instance.id, 'applyPrice': instance.applyPrice, 'stock': instance.stock, 'status': instance.status, 'info': instance.info, 'storeId': instance.storeId, 'tenantCode': instance.tenantCode, };