restore method
Reopens a windows.Window or tabs.Tab, with an optional callback to run
when the entry has been restored.
sessionId
The windows.Window.sessionId, or tabs.Tab.sessionId to
restore. If this parameter is not specified, the most recently closed
session is restored.
Implementation
Future<Session> restore(String? sessionId) async {
var $res = await promiseToFuture<$js.Session>(
$js.chrome.sessions.restore(sessionId));
return Session.fromJS($res);
}