getLineItem method Null safety
Get line item
Returns a Map
containing the line item from the document
with the specified documentId
and lineItemId
.
Implementation
Future<Map<String, dynamic>> getLineItem(
String documentId, String lineItemId) {
return request(
HTTPMethod.get, 'documents/$documentId/line-items/$lineItemId');
}