// GENERATED CODE - DO NOT MODIFY BY HAND part of 'order_product_vo.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** OrderProductVO _$OrderProductVOFromJson(Map json) => OrderProductVO() ..actInfo = json['actInfo'] == null ? null : ActInfo.fromJson(json['actInfo'] as Map) ..additionalComment = json['additionalComment'] == null ? null : AdditionalComment.fromJson( json['additionalComment'] as Map) ..buyNum = (json['buyNum'] as num?)?.toInt() ..canApplyIntervention = json['canApplyIntervention'] as String? ..comment = json['comment'] == null ? null : Comment.fromJson(json['comment'] as Map) ..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?) ?.map((e) => SetMealData.fromJson(e as Map)) .toList() ..packagingFee = json['packagingFee'] as String?; Map _$OrderProductVOToJson(OrderProductVO instance) => { '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, };