resumeDownload method
Resume downloading. This interface is different from the start downloading interface. This interface will find the corresponding cache and reuse the previous cache to resume downloading, while the start downloading interface will start a brand new download. videoDownloadModel: Download constructor TXVodDownloadMediaInfo.
Implementation
Future<void> resumeDownload(TXVodDownloadMediaInfo mediaInfo) async {
await VodGlobalChannel.download.invoke<void>('resumeDownload', mediaInfo.toMap());
}