mirror of
https://github.com/immich-app/immich.git
synced 2025-01-10 13:56:47 +01:00
20 lines
394 B
Dart
20 lines
394 B
Dart
|
import 'package:photo_manager/photo_manager.dart';
|
||
|
|
||
|
class BackupCandidate {
|
||
|
BackupCandidate({required this.asset, required this.albumNames});
|
||
|
|
||
|
AssetEntity asset;
|
||
|
List<String> albumNames;
|
||
|
|
||
|
@override
|
||
|
int get hashCode => asset.hashCode;
|
||
|
|
||
|
@override
|
||
|
bool operator ==(Object other) {
|
||
|
if (other is! BackupCandidate) {
|
||
|
return false;
|
||
|
}
|
||
|
return asset == other.asset;
|
||
|
}
|
||
|
}
|