mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
6995cc2b38
* refactor(mobile): encapsulate most access to photomanager in repository
19 lines
396 B
Dart
19 lines
396 B
Dart
import 'package:immich_mobile/entities/asset.entity.dart';
|
|
|
|
class BackupCandidate {
|
|
BackupCandidate({required this.asset, required this.albumNames});
|
|
|
|
Asset 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;
|
|
}
|
|
}
|