deletex<T> method
Implementation
Future<Response> deletex<T>(String path,
{Map<String, String>? headers, Object? body}) async {
try {
var response =
await delete(Uri.parse(path), headers: headers, body: body);
return Future.value(response);
} on FormatException catch (_) {
throw const FormatException("Unable to process the data");
} catch (e) {
log(e.toString());
rethrow;
}
}