toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (applicableItems != null) 'applicableItems': applicableItems!,
if (appliedItems != null) 'appliedItems': appliedItems!,
if (endTime != null) 'endTime': endTime!,
if (funder != null) 'funder': funder!,
if (merchantPromotionId != null)
'merchantPromotionId': merchantPromotionId!,
if (priceValue != null) 'priceValue': priceValue!,
if (shortTitle != null) 'shortTitle': shortTitle!,
if (startTime != null) 'startTime': startTime!,
if (subtype != null) 'subtype': subtype!,
if (taxValue != null) 'taxValue': taxValue!,
if (title != null) 'title': title!,
if (type != null) 'type': type!,
};