toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON() {
  return {
    'sku': this.sku,
    'description': this.description,
    'qty': this.qty,
    'price': this.price,
    'originalPrice': this.originalPrice,
    'height': this.height,
    'length': this.length,
    'weight': this.weight,
    'width': this.width,
    'variantCode': this.variantCode,
    'reservationCodes': this.reservationCodes,
    'earningRuleID': this.earningRuleID,
    'imageUrl': this.imageUrl,
  };
}