runUploadSpeedTest static method

Future<double> runUploadSpeedTest({
  1. String? testFileUrl,
})

Run a speed test by uploading a test file Returns upload speed in Mbps

Implementation

static Future<double> runUploadSpeedTest({String? testFileUrl}) async {
  final Map<dynamic, dynamic> args = {'testFileUrl': testFileUrl};
  final double speed =
      await _channel.invokeMethod('runUploadSpeedTest', args);
  return speed;
}