mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
* enable border radius, switch exp, const constructor * regenerate provider * more formatting --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
22 lines
574 B
Dart
22 lines
574 B
Dart
import 'package:collection/collection.dart';
|
|
import 'package:immich_mobile/entities/asset.entity.dart';
|
|
|
|
class AssetSelectionPageResult {
|
|
final Set<Asset> selectedAssets;
|
|
|
|
const AssetSelectionPageResult({
|
|
required this.selectedAssets,
|
|
});
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(this, other)) return true;
|
|
final setEquals = const DeepCollectionEquality().equals;
|
|
|
|
return other is AssetSelectionPageResult &&
|
|
setEquals(other.selectedAssets, selectedAssets);
|
|
}
|
|
|
|
@override
|
|
int get hashCode => selectedAssets.hashCode;
|
|
}
|