deleteForJson static method
Sends a HTTP DELETE request to the given url
with the given queryParameters
and headers
.
Returns the response as a map using json.decode.
Implementation
static Future<Map<String, dynamic>> deleteForJson(String url,
{Map<String, String>? queryParameters,
Map<String, String>? headers}) async {
return await _delete(url,
queryParameters: queryParameters,
headers: headers,
returnType: HttpRequestReturnType.JSON) as Map<String, dynamic>;
}