mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-30 22:47:51 +08:00
fix: add defaults
This commit is contained in:
@@ -210,8 +210,8 @@ class DownloadClient {
|
||||
this.url,
|
||||
this.user,
|
||||
this.password,
|
||||
this.removeCompletedDownloads,
|
||||
this.removeFailedDownloads});
|
||||
this.removeCompletedDownloads = true,
|
||||
this.removeFailedDownloads = true});
|
||||
|
||||
DownloadClient.fromJson(Map<String, dynamic> json) {
|
||||
id = json['id'];
|
||||
|
||||
Reference in New Issue
Block a user