toJson method

Map<String, dynamic> toJson()

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,
  };
}