toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'productId': productId,
'productGroupId': productGroupId,
'title': title,
'desc': desc,
'price': price,
'salesPrice': salesPrice,
'quantity': quantity,
'currency': currency,
};
}