toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'affiliation': affiliation,
'currency': currency,
'coupon': coupon,
'creativeName': creativeName,
'creativeSlot': creativeSlot,
'discount': discount,
'index': index,
'itemBrand': itemBrand,
'itemCategory': itemCategory,
'itemCategory2': itemCategory2,
'itemCategory3': itemCategory3,
'itemCategory4': itemCategory4,
'itemCategory5': itemCategory5,
'itemId': itemId,
'itemListId': itemListId,
'itemListName': itemListName,
'itemName': itemName,
'itemVariant': itemVariant,
'locationId': locationId,
'price': price,
'promotionId': promotionId,
'promotionName': promotionName,
'quantity': quantity,
};
}