toMap method
Implementation
Map<String, dynamic> toMap(Product e) => {
"timeList": e.timeList,
"id": e.id,
"name": e.name,
"slug": e.slug,
"permalink": e.permalink,
"type": e.type,
"status": e.status,
"featured": e.featured,
"catalogVisibility": e.catalogVisibility,
"description": e.description,
"short_description": e.shortDescription,
"sku": e.sku,
"price": e.price,
"regularPrice": e.regularPrice,
"salePrice": e.salePrice,
"priceHtml": e.priceHtml,
"onSale": e.onSale,
"purchasable": e.purchasable,
"totalSales": e.totalSales,
"virtual": e.virtual,
"downloadable": e.downloadable,
"downloads": e.downloads,
"downloadLimit": e.downloadLimit,
"downloadExpiry": e.downloadExpiry,
"externalUrl": e.externalUrl,
"buttonText": e.buttonText,
"taxStatus": e.taxStatus,
"taxClass": e.taxClass,
"manageStock": e.manageStock,
"stockQuantity": e.stockQuantity,
"stockStatus": e.stockStatus,
"backorders": e.backorders,
"backordersAllowed": e.backordersAllowed,
"backordered": e.backordered,
"soldIndividually": e.soldIndividually,
"weight": e.weight,
"dimensions": e.dimensions,
"shippingRequired": e.shippingRequired,
"shippingTaxable": e.shippingTaxable,
"shippingClass": e.shippingClass,
"shippingClassId": e.shippingClassId,
"reviewsAllowed": e.reviewsAllowed,
"averageRating": e.averageRating,
"ratingCount": e.ratingCount,
"relatedIds": e.relatedIds,
"upsellIds": e.upsellIds,
"crossSellIds": e.crossSellIds,
"parentId": e.parentId,
"purchaseNote": e.purchaseNote,
"categories": e.categories,
"tags": e.tags,
"images": e.images,
"attributes": e.attributes,
"defaultAttributes": e.defaultAttributes,
"variations": e.variations,
"groupedProducts": e.groupedProducts,
"menuOrder": e.menuOrder,
"metaData": e.metaData,
"dateCreated": e.dateCreated,
"dateCreatedGMT": e.dateCreatedGMT,
};