toJson method

Map<String, dynamic> toJson()

Implementation

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