launch method
Future<bool>
launch(
- String url, {
- required bool useSafariVC,
- required bool useWebView,
- required bool enableJavaScript,
- required bool enableDomStorage,
- required bool universalLinksOnly,
- required Map<
String, String> headers, - String? webOnlyWindowName,
override
Implementation
@override
Future<bool> launch(
String url, {
required bool useSafariVC,
required bool useWebView,
required bool enableJavaScript,
required bool enableDomStorage,
required bool universalLinksOnly,
required Map<String, String> headers,
String? webOnlyWindowName,
}) {
return _channel.invokeMethod<bool>(
'launch',
<String, Object>{
'url': url,
'useSafariVC': useSafariVC,
'useWebView': useWebView,
'enableJavaScript': enableJavaScript,
'enableDomStorage': enableDomStorage,
'universalLinksOnly': universalLinksOnly,
'headers': headers,
},
).then((bool? value) => value ?? false);
}