toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final discountAbsolute = this.discountAbsolute;
final discountPercentage = this.discountPercentage;
final discountType = this.discountType;
return {
'discountAbsolute': ?discountAbsolute,
'discountPercentage': ?discountPercentage,
'discountType': ?discountType,
};
}