From 599d85eb59f0c75a0dd62d2927df5bd35691d534 Mon Sep 17 00:00:00 2001 From: iamalper <29778028+iamalper@users.noreply.github.com> Date: Sat, 9 Dec 2023 15:38:42 +0300 Subject: [PATCH] Support working on background #7 fix parameter string typo --- lib/models.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models.dart b/lib/models.dart index 2fb07a8..d232c28 100644 --- a/lib/models.dart +++ b/lib/models.dart @@ -37,7 +37,7 @@ class DbFile { DbFile.uploadedFromMap(Map map) : name = map["name"], fileStatus = DbFileStatus.upload, - time = DateTime.fromMillisecondsSinceEpoch(map["time"]), + time = DateTime.fromMillisecondsSinceEpoch(map["timeEpoch"]), path = map["path"]; ///Use this constructor for load an downloaded file infos from database.