deleteImageByHash method
- String hash
deletes an image specified by its hash and returns the response
Implementation
RequestAndParser<http.BaseResponse, String?> deleteImageByHash(String hash) {
final rd = RequestData(
_deleteImageByHash_r,
json: {'hash': hash},
);
parser(http.BaseResponse? res) => res?.forceRes()?.body;
return RequestAndParser(rd: rd, parser: parser);
}