startDownloadTesting method

Future<CancelListening> startDownloadTesting({
  1. required DoneCallback onDone,
  2. required ProgressCallback onProgress,
  3. required ErrorCallback onError,
  4. int fileSize = 200000,
  5. String testServer = 'http://ipv4.ikoula.testdebit.info/1M.iso',
})

Implementation

Future<CancelListening> startDownloadTesting(
    {required DoneCallback onDone,
    required ProgressCallback onProgress,
    required ErrorCallback onError,
    int fileSize = 200000,
    String testServer = 'http://ipv4.ikoula.testdebit.info/1M.iso'}) async {
  return await _startListening(Tuple3(onError, onProgress, onDone),
      CallbacksEnum.START_DOWNLOAD_TESTING, testServer,
      fileSize: fileSize);
}