getInvoice method

Future<void> getInvoice(
  1. String transactionId,
  2. String? orderId
)

Implementation

Future<void> getInvoice(String transactionId, String? orderId) async {
  var docUrl = transactionId;
  if (await canLaunchUrl(Uri.parse(docUrl))) {
    await launchUrl(Uri.parse(docUrl), mode: LaunchMode.inAppBrowserView);
  }
  return;
}