onErased property
EventStream<int>
get
onErased
Fires with the downloadId
when a download is erased from
history.
|downloadId|: The id
of the DownloadItem that was
erased.
Implementation
EventStream<int> get onErased =>
$js.chrome.downloads.onErased.asStream(($c) => (int downloadId) {
return $c(downloadId);
});