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.

30 lines
1.2 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'act_info.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ActInfo _$ActInfoFromJson(Map<String, dynamic> json) => ActInfo(
couponDiscountAmount: json['couponDiscountAmount'] as String?,
couponDiscountRate: (json['couponDiscountRate'] as num?)?.toInt(),
couponId: json['couponId'] as String?,
couponType: (json['couponType'] as num?)?.toInt(),
discountAmount: json['discountAmount'] as String?,
discountRate: (json['discountRate'] as num?)?.toInt(),
promotionId: json['promotionId'] as String?,
promotionType: (json['promotionType'] as num?)?.toInt(),
);
Map<String, dynamic> _$ActInfoToJson(ActInfo instance) => <String, dynamic>{
'couponDiscountAmount': instance.couponDiscountAmount,
'couponDiscountRate': instance.couponDiscountRate,
'couponId': instance.couponId,
'couponType': instance.couponType,
'discountAmount': instance.discountAmount,
'discountRate': instance.discountRate,
'promotionId': instance.promotionId,
'promotionType': instance.promotionType,
};