mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
19 lines
535 B
Dart
19 lines
535 B
Dart
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||
|
import 'package:immich_mobile/modules/map/models/map_state.model.dart';
|
||
|
import 'package:immich_mobile/modules/map/providers/map_state.provider.dart';
|
||
|
import 'package:mocktail/mocktail.dart';
|
||
|
|
||
|
class MockMapStateNotifier extends Notifier<MapState>
|
||
|
with Mock
|
||
|
implements MapStateNotifier {
|
||
|
final MapState initState;
|
||
|
|
||
|
MockMapStateNotifier(this.initState);
|
||
|
|
||
|
@override
|
||
|
MapState build() => initState;
|
||
|
|
||
|
@override
|
||
|
set state(MapState mapState) => super.state = mapState;
|
||
|
}
|