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.
62 lines
2.6 KiB
62 lines
2.6 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'order_product_vo.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
OrderProductVO _$OrderProductVOFromJson(Map<String, dynamic> json) => |
|
OrderProductVO() |
|
..actInfo = json['actInfo'] == null |
|
? null |
|
: ActInfo.fromJson(json['actInfo'] as Map<String, dynamic>) |
|
..additionalComment = json['additionalComment'] == null |
|
? null |
|
: AdditionalComment.fromJson( |
|
json['additionalComment'] as Map<String, dynamic>) |
|
..buyNum = (json['buyNum'] as num?)?.toInt() |
|
..canApplyIntervention = json['canApplyIntervention'] as String? |
|
..comment = json['comment'] == null |
|
? null |
|
: Comment.fromJson(json['comment'] as Map<String, dynamic>) |
|
..commentStatus = json['commentStatus'] as String? |
|
..discountAmount = json['discountAmount'] as String? |
|
..id = json['id'] as String? |
|
..productId = json['productId'] as String? |
|
..productName = json['productName'] as String? |
|
..returnCode = json['returnCode'] as String? |
|
..returnStatus = json['returnStatus'] as String? |
|
..returnType = json['returnType'] as String? |
|
..sellPrice = json['sellPrice'] as String? |
|
..skuId = json['skuId'] as String? |
|
..skuImg = json['skuImg'] as String? |
|
..skuNameStr = json['skuNameStr'] as String? |
|
..setMealDataList = (json['setMealDataList'] as List<dynamic>?) |
|
?.map((e) => SetMealData.fromJson(e as Map<String, dynamic>)) |
|
.toList() |
|
..packagingFee = json['packagingFee'] as String?; |
|
|
|
Map<String, dynamic> _$OrderProductVOToJson(OrderProductVO instance) => |
|
<String, dynamic>{ |
|
'actInfo': instance.actInfo?.toJson(), |
|
'additionalComment': instance.additionalComment?.toJson(), |
|
'buyNum': instance.buyNum, |
|
'canApplyIntervention': instance.canApplyIntervention, |
|
'comment': instance.comment?.toJson(), |
|
'commentStatus': instance.commentStatus, |
|
'discountAmount': instance.discountAmount, |
|
'id': instance.id, |
|
'productId': instance.productId, |
|
'productName': instance.productName, |
|
'returnCode': instance.returnCode, |
|
'returnStatus': instance.returnStatus, |
|
'returnType': instance.returnType, |
|
'sellPrice': instance.sellPrice, |
|
'skuId': instance.skuId, |
|
'skuImg': instance.skuImg, |
|
'skuNameStr': instance.skuNameStr, |
|
'setMealDataList': |
|
instance.setMealDataList?.map((e) => e.toJson()).toList(), |
|
'packagingFee': instance.packagingFee, |
|
};
|
|
|