mirror of
https://github.com/immich-app/immich.git
synced 2024-12-19 00:32:49 +02:00
16 lines
420 B
Dart
16 lines
420 B
Dart
|
import 'package:immich_mobile/modules/asset_viewer/providers/current_asset.provider.dart';
|
||
|
import 'package:immich_mobile/shared/models/asset.dart';
|
||
|
import 'package:mocktail/mocktail.dart';
|
||
|
|
||
|
class MockCurrentAssetProvider extends CurrentAssetInternal
|
||
|
with Mock
|
||
|
implements CurrentAsset {
|
||
|
Asset? initAsset;
|
||
|
MockCurrentAssetProvider([this.initAsset]);
|
||
|
|
||
|
@override
|
||
|
Asset? build() {
|
||
|
return initAsset;
|
||
|
}
|
||
|
}
|