getRecentlyClosed method
Gets the list of recently closed tabs and/or windows.
Implementation
Future<List<Session>> getRecentlyClosed(Filter? filter) async {
var $res = await promiseToFuture<JSArray>(
$js.chrome.sessions.getRecentlyClosed(filter?.toJS));
return $res.toDart
.cast<$js.Session>()
.map((e) => Session.fromJS(e))
.toList();
}