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