generateAppForLink method
Generate an app for a URL. Returns the generated bookmark app.
url
The URL of a web page. The scheme of the URL can only be "http" or
"https".
title
The title of the generated app.
Implementation
Future<ExtensionInfo> generateAppForLink(
String url,
String title,
) async {
var $res = await promiseToFuture<$js.ExtensionInfo>(
$js.chrome.management.generateAppForLink(
url,
title,
));
return ExtensionInfo.fromJS($res);
}