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