mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
f057fe045e
* refactor(mobile): entities * store entity * refactor: models * remove domain * save all * bad refactor
15 lines
422 B
Dart
15 lines
422 B
Dart
import 'package:immich_mobile/modules/asset_viewer/providers/current_asset.provider.dart';
|
|
import 'package:immich_mobile/entities/asset.entity.dart';
|
|
import 'package:mocktail/mocktail.dart';
|
|
|
|
class MockCurrentAssetProvider extends CurrentAssetInternal
|
|
with Mock
|
|
implements CurrentAsset {
|
|
Asset? initAsset;
|
|
MockCurrentAssetProvider([this.initAsset]);
|
|
|
|
@override
|
|
Asset? build() {
|
|
return initAsset;
|
|
}
|
|
}
|