mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			396 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			20 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;
 | 
						|
  }
 | 
						|
}
 |