toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['productSKU'] = this.productSKU;
  data['price']=this.price;
  data['quantity']=this.quantity;
  data['status']=this.status;
  data['promoId']=this.promoId;
  data['variation'] = this.variation;
  data['productName'] = this.productName;
  return data;
}