HlsOverallTaskUpdate constructor
const
HlsOverallTaskUpdate({
- required String downloadId,
- required HlsDownloadPhase phase,
- required int totalSegments,
- required int completedSegments,
- required int failedSegments,
- required double progress,
- int? totalExpectedFileSize,
- int? downloadedBytes,
- double? networkSpeed,
- Duration? timeRemaining,
- String? message,
- 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,
});