rawDelete static method

Future<Map<String, dynamic>> rawDelete({
  1. required String url,
  2. Map<String, String> headers = const {"Content-type" : 'application/json'},
  3. bool testMode = false,
  4. Map<String, dynamic>? query,
})

Sends an HTTP DELETE request.

Implementation

static Future<Map<String, dynamic>> rawDelete(
    {required String url,
    Map<String, String> headers = const {"Content-type": 'application/json'},
    bool testMode = false,
    Map<String, dynamic>? query}) async {
  return await ApiST.instance
      .request(type: TYPE.DEL, baseUrl: url, rawHeaders: headers, testMode: testMode, query: query);
}