CouponCurrencyOption.fromJson constructor
CouponCurrencyOption.fromJson(
- Object? json
Implementation
factory CouponCurrencyOption.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return CouponCurrencyOption(amountOff: (map['amount_off'] as num).toInt());
}