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.
45 lines
1.7 KiB
45 lines
1.7 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'good_list.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
GoodList _$GoodListFromJson(Map<String, dynamic> json) => GoodList() |
|
..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? |
|
..tenantCode = json['tenantCode'] as String? |
|
..storeId = json['storeId'] 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?; |
|
|
|
Map<String, dynamic> _$GoodListToJson(GoodList instance) => <String, dynamic>{ |
|
'productImg': instance.productImg, |
|
'productSkuVOList': |
|
instance.productSkuVOList?.map((e) => e.toJson()).toList(), |
|
'thumbnailImg': instance.thumbnailImg, |
|
'tenantCode': instance.tenantCode, |
|
'storeId': instance.storeId, |
|
'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, |
|
};
|
|
|