toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (absoluteDiscount != null) 'absoluteDiscount': absoluteDiscount!,
if (free != null) 'free': free!,
if (price != null) 'price': price!,
if (regionCode != null) 'regionCode': regionCode!,
if (relativeDiscount != null) 'relativeDiscount': relativeDiscount!,
};