getProduct method

Future getProduct(
  1. dynamic merchantId,
  2. dynamic productId
)

getProducts

Implementation

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