getSpeedTestDownloadUrl function
Implementation
String getSpeedTestDownloadUrl() {
const binaryLocation = 'https://install.speedtest.net/app/cli/ookla-speedtest-#v-#p';
var platformPreference = getOperatingSystemPreferences();
return binaryLocation.replaceFirst('#v', defaultBinaryVersion).replaceFirst('#p', platformPreference['pkg']!);
}