toJson method

Map toJson()

Implementation

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