closeInAppWebView function
Closes the current in-app web view, if one was previously opened by launchUrl.
This works only if supportsCloseForLaunchMode returns true for the mode that was used by launchUrl.
Implementation
Future<void> closeInAppWebView() async {
return UrlLauncherPlatform.instance.closeWebView();
}