deleteLineitem method Null safety
Delete lineitem.
Returns a Map
containing the response of the DELETE request
for the documentId
and lineItemId
.
Implementation
Future<Map<String, dynamic>> deleteLineitem(
String documentId, String lineitemId) {
return request(
HTTPMethod.delete, 'documents/$documentId/line-items/$lineitemId');
}