toJson method

Map toJson()

Implementation

Map<dynamic, dynamic> toJson() => {
      "cacheInfos": cacheInfos == null ? [] : List<dynamic>.from(cacheInfos!.map((x) => x.toJson())),
      "taskType": taskType,
      "totalMediaSize": totalMediaSize,
      "preloadComplete": preloadComplete,
      "videoId": videoId,
      "totalCacheSize": totalCacheSize,
      "cacheState": cacheState,
    };