downloadAndInstall method
Downloads url to fileName, verifies it against sha256 when given,
and opens the system installer. Completes once the installer is shown.
Implementation
Future<void> downloadAndInstall({
required String url,
required String fileName,
Map<String, String> headers = const {},
String? sha256,
void Function(int received, int total)? onProgress,
}) {
throw UnimplementedError('downloadAndInstall() has not been implemented.');
}