startDownloadTesting method
Future<CancelListening>
startDownloadTesting({
- required DoneCallback onDone,
- required ProgressCallback onProgress,
- required ErrorCallback onError,
- int fileSize = 200000,
- 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);
}