toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['sellingPrice'] = this.sellingPrice;
data['mrp'] = this.mrp;
data['discount'] = this.discount;
data['minPrice'] = this.minPrice;
data['maxPrice'] = this.maxPrice;
data['type'] = this.type;
data['isSamePrice'] = this.isSamePrice;
return data;
}