delete method
Implementation
@override
Future delete(ApiRequest request) async {
if (!allowDelete) {
throw ApiRequestException.methodNotAllowed();
}
return await deleteElement();
}
@override
Future delete(ApiRequest request) async {
if (!allowDelete) {
throw ApiRequestException.methodNotAllowed();
}
return await deleteElement();
}