1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-11 17:58:54 +01:00
nc-photos/lib/platform/downloader.dart

12 lines
321 B
Dart
Raw Normal View History

2021-04-10 06:28:12 +02:00
import 'package:nc_photos/account.dart';
import 'package:nc_photos/entity/file.dart';
abstract class Downloader {
/// Download file to device
///
/// The return data depends on the platform
/// - web: null
/// - android: Uri to the downloaded file
Future<dynamic> downloadFile(Account account, File file);
2021-04-10 06:28:12 +02:00
}