getProduct method
getProducts
Implementation
Future getProduct(merchantId,productId) async {
var data = {
'merchant_id': merchantId,
};
var apiResponse = await post("/customer/products/$productId", data);
return apiResponse;
}
getProducts
Future getProduct(merchantId,productId) async {
var data = {
'merchant_id': merchantId,
};
var apiResponse = await post("/customer/products/$productId", data);
return apiResponse;
}