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.
39 lines
1.4 KiB
39 lines
1.4 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'set_meal_data.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
SetMealData _$SetMealDataFromJson(Map<String, dynamic> json) => SetMealData() |
|
..groupName = json['groupName'] as String? |
|
..productInfoList = (json['productInfoList'] as List<dynamic>?) |
|
?.map((e) => ProductInfoList.fromJson(e as Map<String, dynamic>)) |
|
.toList(); |
|
|
|
Map<String, dynamic> _$SetMealDataToJson(SetMealData instance) => |
|
<String, dynamic>{ |
|
'groupName': instance.groupName, |
|
'productInfoList': |
|
instance.productInfoList?.map((e) => e.toJson()).toList(), |
|
}; |
|
|
|
ProductInfoList _$ProductInfoListFromJson(Map<String, dynamic> json) => |
|
ProductInfoList() |
|
..skuId = json['skuId'] as String? |
|
..skuName = json['skuName'] as String? |
|
..buyNumber = (json['buyNumber'] as num?)?.toInt() |
|
..productId = json['productId'] as String? |
|
..sellPrice = json['sellPrice'] |
|
..productName = json['productName'] as String?; |
|
|
|
Map<String, dynamic> _$ProductInfoListToJson(ProductInfoList instance) => |
|
<String, dynamic>{ |
|
'skuId': instance.skuId, |
|
'skuName': instance.skuName, |
|
'buyNumber': instance.buyNumber, |
|
'productId': instance.productId, |
|
'sellPrice': instance.sellPrice, |
|
'productName': instance.productName, |
|
};
|
|
|