HlsOverallTaskUpdate constructor

const HlsOverallTaskUpdate({
  1. required String downloadId,
  2. required HlsDownloadPhase phase,
  3. required int totalSegments,
  4. required int completedSegments,
  5. required int failedSegments,
  6. required double progress,
  7. int? totalExpectedFileSize,
  8. int? downloadedBytes,
  9. double? networkSpeed,
  10. Duration? timeRemaining,
  11. String? message,
  12. TaskUpdate? latestTaskUpdate,
})

Implementation

const HlsOverallTaskUpdate({
  required this.downloadId,
  required this.phase,
  required this.totalSegments,
  required this.completedSegments,
  required this.failedSegments,
  required this.progress,
  this.totalExpectedFileSize,
  this.downloadedBytes,
  this.networkSpeed,
  this.timeRemaining,
  this.message,
  this.latestTaskUpdate,
});