toJson method

Map<String, dynamic> toJson()

Implementation

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