runDownloadSpeedTest static method
Run a speed test by downloading a test file Returns download speed in Mbps
Implementation
static Future<double> runDownloadSpeedTest({String? testFileUrl}) async {
final Map<dynamic, dynamic> args = {'testFileUrl': testFileUrl};
await _channel.invokeMethod('runDownloadSpeedTest', args);
final double speed =
await _channel.invokeMethod('runDownloadSpeedTest', args);
return speed;
}