toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'title': title,
    'price': price,
    'qty': qty,
    'description': description,
    'isDigital': isDigital,
    'imageSrc': imageSrc,
    'specificVat': specificVat,
    'productCost': productCost,
  };
}