import 'package:json_annotation/json_annotation.dart'; part 'act_info.g.dart'; @JsonSerializable(explicitToJson: true) class ActInfo { ActInfo({ this.couponDiscountAmount, this.couponDiscountRate, this.couponId, this.couponType, this.discountAmount, this.discountRate, this.promotionId, this.promotionType, }); String? couponDiscountAmount; int? couponDiscountRate; String? couponId; int? couponType; String? discountAmount; int? discountRate; String? promotionId; int? promotionType; factory ActInfo.fromJson(Map json) => _$ActInfoFromJson(json); Map toJson() => _$ActInfoToJson(this); }