getInvoiceItem method
Implementation
@override
Future<Map> getInvoiceItem(
String token, String invoiceId, String invoiceItemId) async {
final String baseUrl = await getBaseUrl;
var url =
Uri.parse("$baseUrl/api/v1/invoices/$invoiceId/items/$invoiceItemId");
var response = await http.get(
url,
headers: {"Authorization": "Bearer $token", "x-jwt-account-id": "string"},
);
var data = jsonDecode(response.body);
//print(data);
return data;
}