startDownloadTesting method
Future<CancelListening>
startDownloadTesting({
- required DoneCallback onDone,
- required ProgressCallback onProgress,
- required ErrorCallback onError,
- required CancelCallback onCancel,
- required int fileSize,
- required String testServer,
override
Implementation
@override
Future<CancelListening> startDownloadTesting(
{required DoneCallback onDone,
required ProgressCallback onProgress,
required ErrorCallback onError,
required CancelCallback onCancel,
required fileSize,
required String testServer}) async {
return await _startListening(Tuple4(onError, onProgress, onDone, onCancel),
CallbacksEnum.startDownLoadTesting, testServer,
fileSize: fileSize);
}