ProductDataCache.createEmpty constructor
ProductDataCache.createEmpty(
- String id
Implementation
factory ProductDataCache.createEmpty(String id){
return ProductDataCache(
id: id,
timeModify: DateTime.now(),
name: [],
visible: true,
price: 0,
discPrice: 0,
category: [],
providers: [],
rating: 0,
image: "",
stock: 0,
delete: false
);
}