19 lines
421 B
Dart
19 lines
421 B
Dart
import 'download_result.dart';
|
|
import 'file_download_helper.dart';
|
|
|
|
Future<bool> ensureStorageAccessImpl() async => true;
|
|
|
|
Future<DownloadResult> downloadEcardImpl({
|
|
required String url,
|
|
required String fileName,
|
|
Map<String, String>? headers,
|
|
}) async {
|
|
// Keep existing web flow unchanged.
|
|
return downloadFileFromUrl(
|
|
url,
|
|
fileName: fileName,
|
|
headers: headers,
|
|
openAfterDownload: false,
|
|
);
|
|
}
|