deleteLineitem method Null safety

Future<Map<String, dynamic>> deleteLineitem(
  1. String documentId,
  2. String lineitemId
)

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');
}