loadStartingPage method

Future<void> loadStartingPage()

Implementation

Future<void> loadStartingPage() async {
  try {
    await controller.loadHtmlString(loadingPage);
    await redirectToPayment();
  } catch (e) {
    result = OnPayResultCode.fail;
    log("WebView error $e");
    _popWithResult("$e");
  }
}