fix: add defaults

This commit is contained in:
Simon Ding
2024-08-01 13:05:05 +08:00
parent 7508a264a6
commit 6e002b1198

View File

@@ -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'];