trash_file.dart 396 B

123456789101112131415
  1. import 'package:photos/models/file.dart';
  2. class TrashFile extends File {
  3. // time when file was put in the trash for first time
  4. int createdAt;
  5. // for non-deleted trash items, updateAt is usually equal to the latest time
  6. // when the file was moved to trash
  7. int updateAt;
  8. // time after which will will be deleted from trash & user's storage usage
  9. // will go down
  10. int deleteBy;
  11. }