toJson method
Implementation
Map<String, dynamic> toJson() => {
'downloadedBytes': downloadedBytes,
'totalBytes': totalBytes,
'isComplete': isComplete,
'lastUpdated': lastUpdated.toIso8601String(),
'isHls': isHls,
};