ios_device_asset.dart 404 B

1234567891011121314
  1. import 'package:immich_mobile/shared/models/device_asset.dart';
  2. import 'package:immich_mobile/utils/hash.dart';
  3. import 'package:isar/isar.dart';
  4. part 'ios_device_asset.g.dart';
  5. @Collection()
  6. class IOSDeviceAsset extends DeviceAsset {
  7. IOSDeviceAsset({required this.id, required super.hash});
  8. @Index(replace: true, unique: true, type: IndexType.hash)
  9. String id;
  10. Id get isarId => fastHash(id);
  11. }