getMerchant method

Future getMerchant(
  1. dynamic id
)

get merchant

Implementation

Future getMerchant(id) async {
  var data = {
    'merchant_id': id
  };
  var apiResponse = await post("/merchant", data);
  return apiResponse;
}