2023-10-20 23:12:33 +00:00
|
|
|
import 'package:freezer/api/download_manager/service_interface.dart';
|
2023-10-19 12:34:22 +00:00
|
|
|
|
|
|
|
class DownloadService {
|
|
|
|
static const NOTIFICATION_ID = 6969;
|
|
|
|
static const NOTIFICATION_CHANNEL_ID = "freezerdownloads";
|
|
|
|
|
2023-10-28 12:42:06 +00:00
|
|
|
final ServiceInterface service;
|
2023-10-19 12:34:22 +00:00
|
|
|
DownloadService(this.service);
|
|
|
|
|
2023-10-28 12:42:06 +00:00
|
|
|
void run() {
|
|
|
|
service.on('addDownloads').listen((event) {});
|
|
|
|
}
|
2023-10-19 12:34:22 +00:00
|
|
|
}
|