getDocumentLineItems method Null safety

Future<Map<String, dynamic>> getDocumentLineItems(
  1. 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');
}