import 'package:json_annotation/json_annotation.dart'; part 'single_sales.g.dart'; @JsonSerializable(explicitToJson: true) class SingleSales { dynamic productId; int? saleNum = 0; String? productName = ''; dynamic productType; String? productGroupName = ''; String? sumPrice = ''; String? sellPrict = ''; String? productSkuName = ''; dynamic productSkuList; dynamic platterLsit; int? giveNum = 0; int? refundNum = 0; double? productCountPercent; double? productSellPricePercent; SingleSales(); factory SingleSales.fromJson(Map json) => _$SingleSalesFromJson(json); Map toJson() => _$SingleSalesToJson(this); }