deleteRequestAuthOrder static method

Future deleteRequestAuthOrder(
  1. dynamic url
)

Implementation

static Future<dynamic> deleteRequestAuthOrder(url) async {

   var networkStatus = await connectionChecker();
  if (!networkStatus) {
    throw ("No internet connection");
  }

  var response = await http.post(Uri.parse(url),
      headers: await ApiHelpers().getNormalHeaderWithToken());
  return response;
}