startDownloadTesting method

  1. @override
Future<CancelListening> startDownloadTesting({
  1. required DoneCallback onDone,
  2. required ProgressCallback onProgress,
  3. required ErrorCallback onError,
  4. required CancelCallback onCancel,
  5. required int fileSize,
  6. 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);
}