openFreshInstallDownload method

Future<void> openFreshInstallDownload()

Opens the active fresh-install download URL.

Implementation

Future<void> openFreshInstallDownload() async {
  final freshInstall = activeFreshInstall;
  if (freshInstall == null) {
    throw StateError("No fresh-install download URL is available.");
  }
  await _externalUrlLauncher(freshInstall.downloadUrl);
}