You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

74 lines
3.0 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'home_rank.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
HomeRank _$HomeRankFromJson(Map<String, dynamic> json) => HomeRank()
..CommodityList = (json['CommodityList'] as List<dynamic>?)
?.map((e) => Commoditys.fromJson(e as Map<String, dynamic>))
.toList()
..CommodityZone = (json['CommodityZone'] as List<dynamic>?)
?.map((e) => CommodityZones.fromJson(e as Map<String, dynamic>))
.toList()
..CommodityListImg = json['CommodityListImg'] as String?;
Map<String, dynamic> _$HomeRankToJson(HomeRank instance) => <String, dynamic>{
'CommodityList': instance.CommodityList?.map((e) => e.toJson()).toList(),
'CommodityZone': instance.CommodityZone?.map((e) => e.toJson()).toList(),
'CommodityListImg': instance.CommodityListImg,
};
Commoditys _$CommoditysFromJson(Map<String, dynamic> json) => Commoditys()
..goodList = (json['goodList'] as List<dynamic>?)
?.map((e) => GoodList.fromJson(e as Map<String, dynamic>))
.toList()
..typeName = json['typeName'] as String?;
Map<String, dynamic> _$CommoditysToJson(Commoditys instance) =>
<String, dynamic>{
'goodList': instance.goodList?.map((e) => e.toJson()).toList(),
'typeName': instance.typeName,
};
CommodityZones _$CommodityZonesFromJson(Map<String, dynamic> json) =>
CommodityZones()
..productImg = json['productImg'] as String?
..productSkuVOList = (json['productSkuVOList'] as List<dynamic>?)
?.map((e) => ProductSkuVOList.fromJson(e as Map<String, dynamic>))
.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<String, dynamic> _$CommodityZonesToJson(CommodityZones instance) =>
<String, dynamic>{
'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,
};