fix & opt.

This commit is contained in:
lollipopkit
2023-01-28 15:35:19 +08:00
parent 0e8a8056f8
commit be1a162632
18 changed files with 197 additions and 250 deletions

View File

@@ -0,0 +1,16 @@
import '../server/server_private_info.dart';
class DownloadItem {
DownloadItem(this.spi, this.remotePath, this.localPath);
final ServerPrivateInfo spi;
final String remotePath;
final String localPath;
}
class DownloadItemEvent {
DownloadItemEvent(this.item, this.privateKey);
final DownloadItem item;
final String? privateKey;
}