isProductExistsInLiveNew method

Future<GeneralResponse> isProductExistsInLiveNew(
  1. String barcode, {
  2. String type = 'food',
})

Implementation

Future<GeneralResponse<dynamic>> isProductExistsInLiveNew(String barcode,
    {String type = 'food'}) async {
  return loadResponse(() async {
    final response =
        await _api.isProductExistsInLiveNew(barcode, type: type);
    return response.data;
  });
}