onProgressChanged property
Stream<DriveProgress>
onProgressChanged
Stream that emits the progress of download and upload processes. The errors of this stream can be listened from the onError callback.
Implementation
Stream<DriveProgress> get onProgressChanged =>
_progressChannel.receiveBroadcastStream().map(
(dynamic event) => DriveProgress.fromMap(
Map<String, dynamic>.from(event),
),
);