diff --git a/lib/models/file.dart b/lib/models/file.dart index 0e6505a99..18e6a20b9 100644 --- a/lib/models/file.dart +++ b/lib/models/file.dart @@ -26,19 +26,6 @@ class File { File(); - File.fromJson(Map json) { - uploadedFileID = json["id"]; - ownerID = json["ownerID"]; - collectionID = json["collectionID"]; - localID = json["deviceFileID"]; - deviceFolder = json["deviceFolder"]; - title = json["title"]; - fileType = getFileType(json["fileType"]); - creationTime = json["creationTime"]; - modificationTime = json["modificationTime"]; - updationTime = json["updationTime"]; - } - static Future fromAsset( AssetPathEntity pathEntity, AssetEntity asset) async { File file = File();