onDownloadProgress property

Stream<DownloadProgressEvent> get onDownloadProgress

Fired when download makes progress. Last call has |done| == true. Deprecated. Use Browser.downloadProgress instead.

Implementation

Stream<DownloadProgressEvent> get onDownloadProgress => _client.onEvent
    .where((event) => event.name == 'Page.downloadProgress')
    .map((event) => DownloadProgressEvent.fromJson(event.parameters));