updateLineItem method Null safety
Update line item
Returns a Map
containing the updated line item from
the params
and associated with lineItemId
and documentId
.
Implementation
Future<Map<String, dynamic>> updateLineItem(
String documentId, String lineItemId, Map<String, dynamic> params) {
return request(
HTTPMethod.put, 'documents/$documentId/line-items/$lineItemId',
body: params);
}