apiDeleteJson method
Returns the body decoded as JSON of the given endpoint
in the
specified RestAPI after a DELETE request. To proper use, specify
apiBaseUrl
.
Implementation
Future<dynamic> apiDeleteJson(
String endpoint, {
Map<String, String>? headers,
}) async =>
json.decode(await apiDelete(endpoint, headers: headers));