onChanged property

EventStream<DownloadDelta> get onChanged

When any of a DownloadItem's properties except bytesReceived and estimatedEndTime changes, this event fires with the downloadId and an object containing the properties that changed.

Implementation

EventStream<DownloadDelta> get onChanged => $js.chrome.downloads.onChanged
    .asStream(($c) => ($js.DownloadDelta downloadDelta) {
          return $c(DownloadDelta.fromJS(downloadDelta));
        });