launch method
Launches the installed web app, or an url in the same web app instead of the default start url if it is provided. Returns a page Target.TargetID which can be used to attach to via Target.attachToTarget or similar APIs. Returns: ID of the tab target created as a result.
Implementation
Future<target.TargetID> launch(String manifestId, {String? url}) async {
var result = await _client.send('PWA.launch', {
'manifestId': manifestId,
if (url != null) 'url': url,
});
return target.TargetID.fromJson(result['targetId'] as String);
}