startUploadTesting method

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

Implementation

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