Преглед изворни кода

make TrashFile members late

ashilkn пре 2 година
родитељ
комит
b6c126dca8
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      lib/models/trash_file.dart

+ 3 - 3
lib/models/trash_file.dart

@@ -2,13 +2,13 @@ import 'package:photos/models/file.dart';
 
 class TrashFile extends File {
   // time when file was put in the trash for first time
-  int? createdAt;
+  late int createdAt;
 
   // for non-deleted trash items, updateAt is usually equal to the latest time
   // when the file was moved to trash
-  int? updateAt;
+  late int updateAt;
 
   // time after which will will be deleted from trash & user's storage usage
   // will go down
-  int? deleteBy;
+  late int deleteBy;
 }