|
|
|
// 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,
|
|
|
|
};
|