getInvoice method
Implementation
Future<void> getInvoice(String id) async {
var docUrl =
"http://pos-ventas-dev-tz.10.0.13.79.nip.io/pos-accounting-svc/invoice/download/$id";
if (await canLaunchUrl(Uri.parse(docUrl))) {
await launchUrl(Uri.parse(docUrl), mode: LaunchMode.inAppBrowserView);
}
return;
}