stream property

The progress updates reported from now on. A final update with state LoadBundleTaskState.success or LoadBundleTaskState.error is the last event, after which the stream is closed. The stream is a broadcast stream: it does not replay updates that were reported before the listener subscribed (see snapshot), and a listener that subscribes after the task finished gets no event; use future for the result.

Implementation

Stream<LoadBundleTaskSnapshot> get stream => _progress.stream;