onProgressChanged property

Stream<int> onProgressChanged

Sets the function that will be called when the job's progress has changed.

This method will be called each time the job's progress increments. The actual progress value can be read from Job.progress. Setting the function to null after it has already been set will stop the function from being called.

Implementation

Stream<int> get onProgressChanged => _progressChangedStreamController.stream;