toJson method
Implementation
Map<dynamic, dynamic> toJson() => {
"key": key,
"videoId": videoId,
"resolution": resolution,
"localFilePath": localFilePath,
"mediaSize": mediaSize,
"cacheSizeFromZero": cacheSizeFromZero,
"decryptionKey": decryptionKey,
"preloadSize": preloadSize,
"taskType": taskType,
};