ente/lib/models/backup_status.dart
2023-05-31 10:10:59 +05:30

18 lines
458 B
Dart

class BackupStatus {
final List<String> localIDs;
final int size;
BackupStatus(this.localIDs, this.size);
}
class BackedUpFileIDs {
final List<String> localIDs;
final List<int> uploadedIDs;
// localSize indicates the approximate size of the files on the device.
// The size may not be exact because the remoteFile is encrypted before
// uploaded
final int localSize;
BackedUpFileIDs(this.localIDs, this.uploadedIDs, this.localSize);
}